-
-
+
Please select a storage space to view its contents
@@ -92,13 +92,13 @@ const StorageBox = defineComponent({
const objectsInCurrentStorage = computed(() => {
return props.objects.filter(obj => obj.storagespaceId === props.storage.id);
});
-
+
const childStorages = computed(() => {
- return props.nestedStorages.filter(storage =>
+ return props.nestedStorages.filter(storage =>
storage.parent && storage.parent.valid && storage.parent.int64 === props.storage.id
);
});
-
+
return { objectsInCurrentStorage, childStorages };
},
template: `
@@ -136,7 +136,7 @@ const StorageBox = defineComponent({
No objects in this storage
-
+
Nested storage spaces:
@@ -186,7 +186,7 @@ watch(selectedStorageId, async (newId) => {
async function fetchStorageData(storageId: number): Promise {
loading.value = true;
error.value = null;
-
+
try {
await storageStore.fetchStorageHierarchy(storageId);
} catch (err: any) {
@@ -207,7 +207,7 @@ watch(() => storageStore.storageSpaces, (newSpaces) => {
onMounted(async () => {
loading.value = true;
error.value = null;
-
+
try {
await storageStore.fetchStorageSpaces();
if (storageSpaces.value.length > 0) {