Frontend: Reduce alert display durations
This commit is contained in:
parent
ba7820dccc
commit
a1baa569d5
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
addWarningMessage: function (message) {
|
addWarningMessage: function (message) {
|
||||||
this.addMessage('warning', 'black--text', message, 4000);
|
this.addMessage('warning', 'black--text', message, 3000);
|
||||||
},
|
},
|
||||||
|
|
||||||
addErrorMessage: function (message) {
|
addErrorMessage: function (message) {
|
||||||
|
@ -73,11 +73,11 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
addSuccessMessage: function (message) {
|
addSuccessMessage: function (message) {
|
||||||
this.addMessage('success', 'white--text', message, 3000);
|
this.addMessage('success', 'white--text', message, 2000);
|
||||||
},
|
},
|
||||||
|
|
||||||
addInfoMessage: function (message) {
|
addInfoMessage: function (message) {
|
||||||
this.addMessage('info', 'white--text', message, 3000);
|
this.addMessage('info', 'white--text', message, 1250);
|
||||||
},
|
},
|
||||||
|
|
||||||
addMessage: function (color, textColor, message, delay) {
|
addMessage: function (color, textColor, message, delay) {
|
||||||
|
|
Loading…
Reference in a new issue