We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 799afad + d3a0144 commit 1b4361eCopy full SHA for 1b4361e
1 file changed
contentcuration/contentcuration/frontend/shared/data/serverSync.js
@@ -355,8 +355,10 @@ if (process.env.NODE_ENV !== 'production' && typeof window !== 'undefined') {
355
356
let intervalTimer;
357
358
+const vueInstance = new Vue();
359
+
360
export function syncOnChanges() {
- Vue.$watch(() => changeRevs.length, debouncedSyncChanges);
361
+ vueInstance.$watch(() => changeRevs.length, debouncedSyncChanges);
362
}
363
364
export function startSyncing() {
0 commit comments