mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-09 16:06:21 +02:00
script.js: fix condition for saving settings
This commit is contained in:
@ -1734,7 +1734,7 @@ loginModal, profileModal, profileAvatarImg, profileUserName, openItemsBtn
|
||||
db.sync.set(obj, function() {
|
||||
alertsService.add('Setting saved');
|
||||
});
|
||||
if (!window.IS_EXTENSION) {
|
||||
if (window.user) {
|
||||
window.db.getDb().then(remoteDb => {
|
||||
remoteDb
|
||||
.collection('users')
|
||||
|
Reference in New Issue
Block a user