This commit is contained in:
vabene1111
2021-01-11 16:19:37 +01:00
parent cb913f6cea
commit 02aec7d6d6
16 changed files with 178 additions and 106 deletions

11
vue/src/utils/utils.js Normal file
View File

@ -0,0 +1,11 @@
import { BToast } from 'bootstrap-vue'
export function makeToast(title, message, variant = null) {
let toaster = new BToast()
toaster.$bvToast.toast(message, {
title: title,
variant: variant,
toaster: 'b-toaster-top-center',
solid: true
})
}