Stop showing Buefy toast messages at bottom of screen
top is much better at least for development...
This commit is contained in:
parent
e7a0ddb782
commit
f68db3c97c
|
@ -93,13 +93,11 @@ export default {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "Thank you for your feedback!",
|
message: "Thank you for your feedback!",
|
||||||
type: 'is-success',
|
type: 'is-success',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
}, response => {
|
}, response => {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "Something went wrong!",
|
message: "Something went wrong!",
|
||||||
type: 'is-danger',
|
type: 'is-danger',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -162,13 +162,11 @@ export default {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "You have been elevated to 'root' and now have full system access",
|
message: "You have been elevated to 'root' and now have full system access",
|
||||||
type: 'is-success',
|
type: 'is-success',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
}, response => {
|
}, response => {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "Something went wrong!",
|
message: "Something went wrong!",
|
||||||
type: 'is-danger',
|
type: 'is-danger',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -182,13 +180,11 @@ export default {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "Your normal system access has been restored",
|
message: "Your normal system access has been restored",
|
||||||
type: 'is-success',
|
type: 'is-success',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
}, response => {
|
}, response => {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "Something went wrong!",
|
message: "Something went wrong!",
|
||||||
type: 'is-danger',
|
type: 'is-danger',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -108,14 +108,12 @@ export default {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "You do not have permission to access that page.",
|
message: "You do not have permission to access that page.",
|
||||||
type: 'is-danger',
|
type: 'is-danger',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
this.$router.push('/')
|
this.$router.push('/')
|
||||||
} else {
|
} else {
|
||||||
this.$buefy.toast.open({
|
this.$buefy.toast.open({
|
||||||
message: "Failed to fetch page data!",
|
message: "Failed to fetch page data!",
|
||||||
type: 'is-danger',
|
type: 'is-danger',
|
||||||
position: 'is-bottom',
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue