mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
fix lint
This commit is contained in:
parent
86ef5ee9da
commit
13987c43d8
@ -46,5 +46,5 @@ export {
|
|||||||
LocalStorageManager,
|
LocalStorageManager,
|
||||||
DesignerOptionsBuilder,
|
DesignerOptionsBuilder,
|
||||||
buildDesigner,
|
buildDesigner,
|
||||||
$notify
|
$notify,
|
||||||
};
|
};
|
||||||
|
@ -46,7 +46,11 @@ if (!global.memoryPersistence && !global.readOnly) {
|
|||||||
session: global.lockSession,
|
session: global.lockSession,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
persistence = new LocalStorageManager(`/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}document/xml${!global.isAuth ? '-pub' : ''}`, true);
|
const historyId = global.historyId ? `${global.historyId}/` : '';
|
||||||
|
persistence = new LocalStorageManager(
|
||||||
|
`/c/restful/maps/{id}/${historyId}document/xml${!global.isAuth ? '-pub' : ''}`,
|
||||||
|
true,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Obtain map zoom from query param if it was specified...
|
// Obtain map zoom from query param if it was specified...
|
||||||
|
Loading…
Reference in New Issue
Block a user