From 4841b839f8b43fa405aa50ae4e18837aaa0d22b3 Mon Sep 17 00:00:00 2001 From: Vikas Kapadiya Date: Wed, 16 Sep 2020 09:45:12 +0530 Subject: [PATCH] Replace clearRefreshInterval with stopRefreshInterval --- resources/views/dashboard.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 1fa25a8f57..d5e96a73c7 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -261,15 +261,15 @@ class="rounded-full px-3 py-1 inline-block text-sm" }, destroyed () { if (this.refreshTicker) { - this.clearRefreshInterval(); + this.stopRefreshInterval(); } }, watch: { connected (newVal) { - newVal ? this.startRefreshInterval() : this.clearRefreshInterval(); + newVal ? this.startRefreshInterval() : this.stopRefreshInterval(); }, autoRefresh (newVal) { - newVal ? this.startRefreshInterval() : this.clearRefreshInterval(); + newVal ? this.startRefreshInterval() : this.stopRefreshInterval(); }, }, methods: {