1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-19 13:01:12 +02:00

script: fix a extension condition

This commit is contained in:
Kushagra Gour
2018-02-12 12:13:24 +05:30
parent 8d5ddc39f4
commit 6f5138290c

View File

@@ -507,7 +507,7 @@ loginModal, profileModal, profileAvatarImg, profileUserName, openItemsBtn
var d = deferred();
savedItems = savedItems || {};
var items = [];
if (!window.IS_EXTENSION && window.user) {
if (window.user) {
items = await itemService.getAllItems();
utils.log('got items')
if (shouldSaveGlobally) {