diff --git a/client/package.json b/client/package.json index ab8cc9333..f5e9891a7 100644 --- a/client/package.json +++ b/client/package.json @@ -97,7 +97,7 @@ "karma-jasmine": "~3.1.1", "karma-jasmine-html-reporter": "^1.4.0", "npm-license-crawler": "^0.2.1", - "prettier": "^2.0.2", + "prettier": "^2.0.5", "protractor": "^5.4.3", "resize-observer-polyfill": "^1.5.1", "ts-node": "~8.8.1", diff --git a/client/src/app/core/repositories/agenda/list-of-speakers-repository.service.ts b/client/src/app/core/repositories/agenda/list-of-speakers-repository.service.ts index 377ae5796..942ee9ae7 100644 --- a/client/src/app/core/repositories/agenda/list-of-speakers-repository.service.ts +++ b/client/src/app/core/repositories/agenda/list-of-speakers-repository.service.ts @@ -220,6 +220,10 @@ export class ListOfSpeakersRepositoryService extends BaseHasContentObjectReposit await this.httpService.put(restUrl, { speaker: speaker.id }); } + public async deleteAllSpeakersOfAllListsOfSpeakers(): Promise { + await this.httpService.post('/rest/agenda/list-of-speakers/delete_all_speakers/'); + } + /** * Helper function get the url to the speaker rest address * diff --git a/client/src/app/site/agenda/components/agenda-list/agenda-list.component.html b/client/src/app/site/agenda/components/agenda-list/agenda-list.component.html index c72f8c61f..d6a7d2e0b 100644 --- a/client/src/app/site/agenda/components/agenda-list/agenda-list.component.html +++ b/client/src/app/site/agenda/components/agenda-list/agenda-list.component.html @@ -121,6 +121,11 @@ {{ 'Import' | translate }} + +