From 0e8befc00c2d1ca4ef7bc641bb8202e64c95a185 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Fri, 25 Feb 2022 09:09:03 -0800 Subject: [PATCH] Fix initialization of url for loader --- packages/webapp/src/classes/client/rest-client/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/classes/client/rest-client/index.ts b/packages/webapp/src/classes/client/rest-client/index.ts index 89d254a3..0d37c120 100644 --- a/packages/webapp/src/classes/client/rest-client/index.ts +++ b/packages/webapp/src/classes/client/rest-client/index.ts @@ -626,7 +626,7 @@ export default class RestClient implements Client { }); } else { persistence = new LocalStorageManager( - `/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}document/xml${editorMode !== 'showcase' ? '-pub' : '' + `/c/restful/maps/{id}/${global.historyId ? `${global.historyId}/` : ''}document/xml${editorMode === 'showcase' ? '-pub' : '' }`, true );