mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-25 14:32:09 +02:00
Change reload notification colors
This commit is contained in:
parent
1c91d31904
commit
4307de3bea
@ -346,7 +346,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
if ( this.accounts.length > 0 && !objectEquals(accounts, this.accounts) ) {
|
if ( this.accounts.length > 0 && !objectEquals(accounts, this.accounts) ) {
|
||||||
this.$notify({ type: 'is-warning', text: '<span class="is-size-7">' + this.$t('commons.some_data_have_changed') + '</span><br /><a href="." class="button is-rounded is-dark is-small">' + this.$t('commons.reload') + '</a>', duration:-1, closeOnClick: false })
|
this.$notify({ type: 'is-dark', text: '<span class="is-size-7">' + this.$t('commons.some_data_have_changed') + '</span><br /><a href="." class="button is-rounded is-warning is-small">' + this.$t('commons.reload') + '</a>', duration:-1, closeOnClick: false })
|
||||||
}
|
}
|
||||||
else if( this.accounts.length === 0 && accounts.length === 0 ) {
|
else if( this.accounts.length === 0 && accounts.length === 0 ) {
|
||||||
// No account yet, we force user to land on the start view.
|
// No account yet, we force user to land on the start view.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user