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: {
|
methods: {
|
||||||
showNotif: function (userMessage) {
|
showNotif: function (userMessage) {
|
||||||
var colour = colours[Math.floor(Math.random() * colours.length)]
|
var colour = this.colours[
|
||||||
console.log(String(colour))
|
Math.floor(Math.random() * this.colours.length)
|
||||||
|
]
|
||||||
this.$q.notify({
|
this.$q.notify({
|
||||||
color: String(colour),
|
color: colour,
|
||||||
html: true,
|
html: true,
|
||||||
message: '<h4 style="color: white;">' + userMessage + '</h4>',
|
message: '<h4 style="color: white;">' + userMessage + '</h4>',
|
||||||
position: 'left',
|
position: 'left',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue