refresh after delete

This commit is contained in:
Jan Prochazka
2022-03-24 18:51:46 +01:00
parent 5c8ae85c54
commit 4c856c5e36
2 changed files with 18 additions and 3 deletions

View File

@@ -20,6 +20,8 @@
export let item;
export let indentLevel = 0;
export let onRefreshParent;
let isExpanded;
let reloadToken = 0;
@@ -38,6 +40,10 @@
method: 'del',
args: [item.key],
});
if (onRefreshParent) {
onRefreshParent();
}
},
});
},