Добавлена кнопка offlineMode

This commit is contained in:
Book Pauk
2019-09-20 23:52:45 +07:00
parent 26747b7013
commit 6868b3effc
6 changed files with 19 additions and 5 deletions

View File

@@ -176,12 +176,12 @@ class ServerStorage extends Vue {
}
warning(message) {
if (this.showServerStorageMessages)
if (this.showServerStorageMessages && !this.offlineModeActive)
this.$notify.warning({message});
}
error(message) {
if (this.showServerStorageMessages)
if (this.showServerStorageMessages && !this.offlineModeActive)
this.$notify.error({message});
}