This commit is contained in:
lesion
2022-08-05 18:10:36 +02:00
parent f5d21d605c
commit 87bc03adcc

View File

@@ -35,7 +35,7 @@ export default {
this.$root.$message = (message, opts = {}) => {
this.active = true
this.message = this.$t(message, opts)
this.color = opts.color || 'secondary'
this.color = opts.color || 'primary'
this.icon = opts.icon || (this.color === 'success' ? mdiInformation : mdiAlert)
}
}