mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
remove code 2
This commit is contained in:
parent
b7740e5351
commit
72e0e90e2e
@ -4,21 +4,18 @@ export const toasters = {
|
||||
this.toast(message, {
|
||||
title: this.$t('success'),
|
||||
variant: 'success',
|
||||
autoHideDelay: 5000,
|
||||
})
|
||||
},
|
||||
toastError(message) {
|
||||
this.toast(message, {
|
||||
title: this.$t('error.error'),
|
||||
variant: 'danger',
|
||||
autoHideDelay: 5000,
|
||||
})
|
||||
},
|
||||
toastInfo(message) {
|
||||
this.toast(message, {
|
||||
title: this.$t('navigation.info'),
|
||||
variant: 'warning',
|
||||
autoHideDelay: 5000,
|
||||
})
|
||||
},
|
||||
toastInfoNoHide(message) {
|
||||
@ -32,6 +29,7 @@ export const toasters = {
|
||||
if (message.replace) message = message.replace(/^GraphQL error: /, '')
|
||||
this.$root.$bvToast.toast(message, {
|
||||
appendToast: true,
|
||||
autoHideDelay: 5000,
|
||||
solid: true,
|
||||
toaster: 'b-toaster-top-right',
|
||||
headerClass: 'gdd-toaster-title',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user