Stop showing Buefy toast messages at bottom of screen

top is much better at least for development...
This commit is contained in:
Lance Edgar 2020-03-24 13:57:19 -05:00
parent e7a0ddb782
commit f68db3c97c
3 changed files with 0 additions and 8 deletions

View file

@ -93,13 +93,11 @@ export default {
this.$buefy.toast.open({
message: "Thank you for your feedback!",
type: 'is-success',
position: 'is-bottom',
})
}, response => {
this.$buefy.toast.open({
message: "Something went wrong!",
type: 'is-danger',
position: 'is-bottom',
})
})
},

View file

@ -162,13 +162,11 @@ export default {
this.$buefy.toast.open({
message: "You have been elevated to 'root' and now have full system access",
type: 'is-success',
position: 'is-bottom',
})
}, response => {
this.$buefy.toast.open({
message: "Something went wrong!",
type: 'is-danger',
position: 'is-bottom',
})
})
@ -182,13 +180,11 @@ export default {
this.$buefy.toast.open({
message: "Your normal system access has been restored",
type: 'is-success',
position: 'is-bottom',
})
}, response => {
this.$buefy.toast.open({
message: "Something went wrong!",
type: 'is-danger',
position: 'is-bottom',
})
})
},

View file

@ -108,14 +108,12 @@ export default {
this.$buefy.toast.open({
message: "You do not have permission to access that page.",
type: 'is-danger',
position: 'is-bottom',
})
this.$router.push('/')
} else {
this.$buefy.toast.open({
message: "Failed to fetch page data!",
type: 'is-danger',
position: 'is-bottom',
})
}
})