@iankibetsh/vue-streamline 1.1.7 → 1.1.8
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/package.json +1 -1
- package/src/composables/useStreamline.js +3 -3
- package/src/main.js +1 -1
package/package.json
CHANGED
|
@@ -114,14 +114,14 @@ const useStreamline = (stream, ...initialArgs) => {
|
|
|
114
114
|
const service = reactive({}); // Make the service object reactive
|
|
115
115
|
|
|
116
116
|
onMounted(() => {
|
|
117
|
-
if (initialArgs.length > 0) {
|
|
118
|
-
fetchServiceProperties();
|
|
119
|
-
}
|
|
120
117
|
if (!enableCache) return;
|
|
121
118
|
const cachedData = localStorage.getItem(cacheKey);
|
|
122
119
|
if (cachedData) {
|
|
123
120
|
assignPropertiesAndMethods(JSON.parse(cachedData));
|
|
124
121
|
}
|
|
122
|
+
if (initialArgs.length > 0) {
|
|
123
|
+
fetchServiceProperties();
|
|
124
|
+
}
|
|
125
125
|
|
|
126
126
|
});
|
|
127
127
|
|