/** * These function is designed to create the summary for the collected data * */ function create_summary_saved(list){ let card = ""; for(let i = 0; i < list.length; i++){ card += getpictogramdata("This service saves "+ list[i].text, list[i].id); } // was ist wenn karte leer ist return card; } /** * These function is designed to create the summary for the third parties * */ function create_summary_third(list){ let card = ""; for(let i = 0; i < list.length; i++){ card += getpictogramthird("this side may be send data to: "+list[i].text, list[i].id); } // was ist wenn karte leer ist return card; }