unnecessary js methods deleted
This commit is contained in:
parent
162ad5c2f5
commit
6082425e92
19
resources/assets/js/views/auth/forgot.js
vendored
19
resources/assets/js/views/auth/forgot.js
vendored
@ -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();
|
||||
},
|
||||
|
19
resources/assets/js/views/auth/login.js
vendored
19
resources/assets/js/views/auth/login.js
vendored
@ -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();
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user