refac
This commit is contained in:
1 parent
746979d012
commit
1f0948bcbe
3 files changed
+45
-6
No files matched your search
@@ -15,7 +15,7 @@
|
||||
export let onEdit = () => {};
|
||||
export let onExport = () => {};
|
||||
export let onDelete = () => {};
|
||||
export let onCreateSub = () => {};
|
||||
export let onCreateSubFolder = () => {};
|
||||
|
||||
let show = false;
|
||||
</script>
|
||||
@@ -47,7 +47,7 @@
|
||||
<button
|
||||
class="flex gap-2 items-center px-3 py-1.5 text-sm select-none cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800 rounded-xl w-full"
|
||||
on:click={() => {
|
||||
onCreateSub();
|
||||
onCreateSubFolder();
|
||||
}}
|
||||
>
|
||||
<Folder />
|
||||
|
||||
@@ -627,7 +627,7 @@
|
||||
onExport={() => {
|
||||
exportHandler();
|
||||
}}
|
||||
onCreateSub={() => {
|
||||
onCreateSubFolder={() => {
|
||||
createSubFolderParentId = folderId;
|
||||
showCreateSubFolderModal = true;
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user