mirror of
https://github.com/jwetzell/showbridge-webui.git
synced 2026-09-01 19:39:00 +00:00
add drag and drop to rest of lists
This commit is contained in:
@@ -18,6 +18,15 @@ export class ListsService {
|
||||
return id;
|
||||
}
|
||||
|
||||
removeProcessorList(path: string | undefined) {
|
||||
if (path === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
const id = this.pathToId(path);
|
||||
this.processorListIds = this.processorListIds.filter((listId) => listId !== id);
|
||||
}
|
||||
|
||||
pathToId(path: string) {
|
||||
return path.replaceAll('/', '.');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user