Skip to content

Commit

Permalink
[Fixes #1144] Disable / hide the charts button if a user doesn't have…
Browse files Browse the repository at this point in the history
… enough perms on the dataset (#1196) (#1205)
  • Loading branch information
DavidQuartz committed Sep 19, 2022
1 parent ca033be commit 55c7f56
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2137,7 +2137,10 @@
"name": "Locate"
},
{
"name": "WidgetsBuilder"
"name": "WidgetsBuilder",
"cfg": {
"disablePluginIf": "{!state('selectedLayerPermissions').includes('download_resourcebase')}"
}
},
{
"name": "Save",
Expand Down

0 comments on commit 55c7f56

Please sign in to comment.