@iankibetsh/vue-streamline 1.1.7 → 1.1.9
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 +4 -4
- package/src/main.js +1 -1
package/package.json
CHANGED
|
@@ -102,7 +102,7 @@ const useStreamline = (stream, ...initialArgs) => {
|
|
|
102
102
|
};
|
|
103
103
|
|
|
104
104
|
const getActionUrl = (action, ...args) => {
|
|
105
|
-
console.log('getActionUrl called with:', action, args);
|
|
105
|
+
// console.log('getActionUrl called with:', action, args);
|
|
106
106
|
const post = {
|
|
107
107
|
action,
|
|
108
108
|
stream,
|
|
@@ -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
|
|