From 6082425e92e2ead3467881396b143bb86f4b3e37 Mon Sep 17 00:00:00 2001 From: batuhanbas Date: Tue, 21 Jan 2020 10:19:43 +0300 Subject: [PATCH] unnecessary js methods deleted --- resources/assets/js/views/auth/forgot.js | 19 ------------------- resources/assets/js/views/auth/login.js | 19 ------------------- 2 files changed, 38 deletions(-) diff --git a/resources/assets/js/views/auth/forgot.js b/resources/assets/js/views/auth/forgot.js index a557d38e4..7455260b6 100644 --- a/resources/assets/js/views/auth/forgot.js +++ b/resources/assets/js/views/auth/forgot.js @@ -20,29 +20,10 @@ const app = new Vue({ }, mounted() { - this.checkNotify(); }, methods: { - // Check Default set notify > store / update action - checkNotify: function () { - if (!flash_notification) { - return false; - } - flash_notification.forEach(notify => { - let type = notify.level; - - this.$notify({ - message: notify.message, - timeout: 5000, - icon: 'fas fa-bell', - type - }); - }); - }, - - // Form Submit onSubmit() { this.form.submit(); }, diff --git a/resources/assets/js/views/auth/login.js b/resources/assets/js/views/auth/login.js index a0e5f9fed..2780368e4 100644 --- a/resources/assets/js/views/auth/login.js +++ b/resources/assets/js/views/auth/login.js @@ -20,29 +20,10 @@ const app = new Vue({ }, mounted() { - this.checkNotify(); }, methods: { - // Check Default set notify > store / update action - checkNotify: function () { - if (!flash_notification) { - return false; - } - flash_notification.forEach(notify => { - let type = notify.level; - - this.$notify({ - message: notify.message, - timeout: 5000, - icon: 'fas fa-bell', - type - }); - }); - }, - - // Form Submit onSubmit() { this.form.submit(); },