From 30ea4a6951a98ae2207761c656b605396b730360 Mon Sep 17 00:00:00 2001 From: DavidQuartz Date: Mon, 30 May 2022 15:51:36 +0000 Subject: [PATCH] using createLayer config --- .../client/static/mapstore/configs/localConfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/geonode_mapstore_client/client/static/mapstore/configs/localConfig.json b/geonode_mapstore_client/client/static/mapstore/configs/localConfig.json index 5d8fb1e009..9147871001 100644 --- a/geonode_mapstore_client/client/static/mapstore/configs/localConfig.json +++ b/geonode_mapstore_client/client/static/mapstore/configs/localConfig.json @@ -350,6 +350,7 @@ "value": "layer", "type": "link", "href": "/createlayer/", + "disableIf": "{((state('settings') && state('settings').createLayer) ? false : true)}", "authenticated": true, "perms": [ {