diff --git a/openslides/topics/static/js/topics/site.js b/openslides/topics/static/js/topics/site.js index 4be30afef..e8ddc1929 100644 --- a/openslides/topics/static/js/topics/site.js +++ b/openslides/topics/static/js/topics/site.js @@ -309,7 +309,7 @@ angular.module('OpenSlidesApp.topics.site', ['OpenSlidesApp.topics', 'OpenSlides } item.duration = time; } else { - item.duration = null; + delete item.duration; } // is_hidden if (item.is_hidden) { diff --git a/openslides/topics/static/templates/topics/topic-import.html b/openslides/topics/static/templates/topics/topic-import.html index 0e851a982..c454bd929 100644 --- a/openslides/topics/static/templates/topics/topic-import.html +++ b/openslides/topics/static/templates/topics/topic-import.html @@ -92,7 +92,7 @@ {{ item.title }} {{ item.text | limitTo:80 }}{{ item.text.length > 80 ? '...' : '' }} - {{ item.duration | osMinutesToTime }} + {{ item.duration ? 'item.duration | osMinutesToTime' : '' }} {{ item.comment }} {{ item.is_hidden }} @@ -100,7 +100,7 @@
- {{ itemsWillNMotBeImported }} + {{ itemsWillNotBeImported }} topics will be not imported.