@axium/storage 0.18.0 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/List.svelte +5 -5
- package/package.json +1 -1
package/lib/List.svelte
CHANGED
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
else items = await getDirectoryMetadata(item.id);
|
|
61
61
|
}}
|
|
62
62
|
{@attach contextMenu(
|
|
63
|
-
{ i: 'pencil', text: 'Rename', action: () => dialogs.rename.showModal() },
|
|
64
|
-
{ i: 'user-group', text: 'Share', action: () => dialogs['share:' + item.id].showModal() },
|
|
65
|
-
{ i: 'download', text: 'Download', action: () => dialogs.download.showModal() },
|
|
66
|
-
{ i: 'link-horizontal', text: 'Copy Link', action: () => copyShortURL(item) },
|
|
67
|
-
{ i: 'trash', text: 'Trash', action: () => dialogs.trash.showModal() }
|
|
63
|
+
{ i: 'pencil', text: 'Rename', action: () => ((activeIndex = i), dialogs.rename.showModal()) },
|
|
64
|
+
{ i: 'user-group', text: 'Share', action: () => ((activeIndex = i), dialogs['share:' + item.id].showModal()) },
|
|
65
|
+
{ i: 'download', text: 'Download', action: () => ((activeIndex = i), dialogs.download.showModal()) },
|
|
66
|
+
{ i: 'link-horizontal', text: 'Copy Link', action: () => ((activeIndex = i), copyShortURL(item)) },
|
|
67
|
+
{ i: 'trash', text: 'Trash', action: () => ((activeIndex = i), dialogs.trash.showModal()) }
|
|
68
68
|
)}
|
|
69
69
|
>
|
|
70
70
|
<dfn class="type" title={item.type}><Icon i={iconForMime(item.type)} /></dfn>
|