Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 6d8e892

Browse files
authored
Merge pull request #534 from vikas5914/patch-2
Replace clearRefreshInterval with stopRefreshInterval
2 parents 3859002 + 4841b83 commit 6d8e892

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

resources/views/dashboard.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,15 +261,15 @@ class="rounded-full px-3 py-1 inline-block text-sm"
261261
},
262262
destroyed () {
263263
if (this.refreshTicker) {
264-
this.clearRefreshInterval();
264+
this.stopRefreshInterval();
265265
}
266266
},
267267
watch: {
268268
connected (newVal) {
269-
newVal ? this.startRefreshInterval() : this.clearRefreshInterval();
269+
newVal ? this.startRefreshInterval() : this.stopRefreshInterval();
270270
},
271271
autoRefresh (newVal) {
272-
newVal ? this.startRefreshInterval() : this.clearRefreshInterval();
272+
newVal ? this.startRefreshInterval() : this.stopRefreshInterval();
273273
},
274274
},
275275
methods: {

0 commit comments

Comments
 (0)