fixed color messages
This commit is contained in:
parent
37d0f4947e
commit
6dba793f71
1 changed files with 4 additions and 3 deletions
|
|
@ -95,10 +95,11 @@
|
|||
},
|
||||
methods: {
|
||||
showNotif: function (userMessage) {
|
||||
var colour = colours[Math.floor(Math.random() * colours.length)]
|
||||
console.log(String(colour))
|
||||
var colour = this.colours[
|
||||
Math.floor(Math.random() * this.colours.length)
|
||||
]
|
||||
this.$q.notify({
|
||||
color: String(colour),
|
||||
color: colour,
|
||||
html: true,
|
||||
message: '<h4 style="color: white;">' + userMessage + '</h4>',
|
||||
position: 'left',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue