@hostlink/nuxt-light 1.55.2 → 1.56.0
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/dist/module.json
CHANGED
|
@@ -3,7 +3,7 @@ import { useI18n } from "vue-i18n";
|
|
|
3
3
|
import { ref, watch, computed } from "vue";
|
|
4
4
|
import { useQuasar, format } from "quasar";
|
|
5
5
|
import { q, m, useLight } from "#imports";
|
|
6
|
-
import { getApiClient } from "@hostlink/light";
|
|
6
|
+
import { getApiClient, getGrantedRights } from "@hostlink/light";
|
|
7
7
|
const api = getApiClient();
|
|
8
8
|
import { getDrive, listDrives } from "@hostlink/light";
|
|
9
9
|
const { humanStorageSize } = format;
|
|
@@ -387,7 +387,7 @@ const reloadStorage = async () => {
|
|
|
387
387
|
label.value = null;
|
|
388
388
|
await loadItems();
|
|
389
389
|
};
|
|
390
|
-
const permission = await
|
|
390
|
+
const permission = await getGrantedRights([
|
|
391
391
|
"fs.folder.create",
|
|
392
392
|
"fs.folder.delete",
|
|
393
393
|
"fs.folder.rename",
|