Delete agenda items over list
Implements the deletion logic for agenda items from the agenda list view
This commit is contained in:
parent
7dd086eacf
commit
5e5fc4a499
@ -232,8 +232,9 @@ export class ItemRepositoryService extends BaseRepository<ViewItem, Item> {
|
||||
* from the agenda" permanently. Usually, items might juse be hidden but not
|
||||
* deleted (right now)
|
||||
*/
|
||||
public delete(item: ViewItem): Promise<void> {
|
||||
throw new Error('Method not implemented.');
|
||||
public async delete(item: ViewItem): Promise<void> {
|
||||
const restUrl = `/rest/${item.contentObject.collectionString}/${item.contentObject.id}/`;
|
||||
return await this.httpService.delete(restUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user