Fix readOnly variable name

This commit is contained in:
Paulo Gustavo Veiga 2021-12-25 22:31:07 -08:00
parent a8a78d053f
commit fbc1948b84

View File

@ -31,7 +31,7 @@ require('@libraries/bootstrap/js/bootstrap');
// Configure designer options ... // Configure designer options ...
let persistence; let persistence;
if (!global.memoryPersistence && !global.readOnlyMode) { if (!global.memoryPersistence && !global.readOnly) {
persistence = new RESTPersistenceManager( persistence = new RESTPersistenceManager(
{ {
documentUrl: '/c/restful/maps/{id}/document', documentUrl: '/c/restful/maps/{id}/document',