@hostlink/nuxt-light 1.63.0 → 1.63.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/dist/module.json
CHANGED
|
@@ -114,9 +114,6 @@ const loadItems = async () => {
|
|
|
114
114
|
let path = selectedLocation.value;
|
|
115
115
|
files.value = [];
|
|
116
116
|
folders.value = [];
|
|
117
|
-
if (!path) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
117
|
if (label.value || localSearch.value) {
|
|
121
118
|
loading.value = true;
|
|
122
119
|
const items2 = await fs.find(localSearch.value, label.value);
|
|
@@ -125,6 +122,9 @@ const loadItems = async () => {
|
|
|
125
122
|
folders.value = items2.filter((item) => item.__typename === "Folder");
|
|
126
123
|
return;
|
|
127
124
|
}
|
|
125
|
+
if (!path) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
128
|
loading.value = true;
|
|
129
129
|
const folder = await fs.list(path);
|
|
130
130
|
loading.value = false;
|