Merge pull request #1151 from batuhawk/master

Unnecessary js methods deleted
This commit is contained in:
Batuhan Baş 2020-01-21 10:20:24 +03:00 committed by GitHub
commit 87e6e7c090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 38 deletions

View File

@ -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();
},

View File

@ -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();
},