major UI modification

This commit is contained in:
les
2020-07-28 12:24:39 +02:00
parent 2758541df0
commit 411560c218
27 changed files with 770 additions and 572 deletions

View File

@@ -19,21 +19,21 @@ export default {
return {
icon: 'md-alert',
color: 'primary',
bottom: true,
top: false,
bottom: false,
top: true,
left: false,
right: true,
right: false,
active: false,
timeout: 5000,
message: ''
}
},
created () {
this.$root.$on('message', snackbar => {
this.$root.$message = snackbar => {
this.active = true
this.message = snackbar.message
this.color = snackbar.color || 'primary'
})
}
}
}
</script>