Поправка бага

This commit is contained in:
Book Pauk
2019-09-20 20:20:11 +07:00
parent a054186d4b
commit e1be68ec3d

View File

@@ -71,7 +71,10 @@ class ServerStorage extends Vue {
} }
async bookManagerEvent(eventName, itemKey) { async bookManagerEvent(eventName, itemKey) {
if (eventName == 'recent-changed') { if (!this.serverSyncEnabled)
return;
if (eventName == 'recent-changed') {
if (itemKey) { if (itemKey) {
if (!this.recentDeltaInited) { if (!this.recentDeltaInited) {
this.warning('Функции сохранения на сервер пока недоступны'); this.warning('Функции сохранения на сервер пока недоступны');