toast rendering error fixed in adminarea

This commit is contained in:
ogerly 2022-03-15 22:15:30 +01:00
parent fe733c3f77
commit cf601fc5b3

View File

@ -15,7 +15,7 @@ export const toasters = {
toast(message, options) {
// for unit tests, check that replace is present
if (message.replace) message = message.replace(/^GraphQL error: /, '')
this.$bvToast.toast(message, {
this.$root.$bvToast.toast(message, {
autoHideDelay: 5000,
appendToast: true,
solid: true,