Skip to content

Commit

Permalink
#1964: Fix - Exception when selecting style inside layer setting of t…
Browse files Browse the repository at this point in the history
…he TOC (#1967) (#1968)

(cherry picked from commit 375d1e7)

Co-authored-by: Suren <[email protected]>
  • Loading branch information
github-actions[bot] and dsuren1 authored Feb 14, 2025
1 parent 1d25657 commit 9b3860d
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ function StyleEditorTocButton({
}) {
const mapLayer = layer?.extendedParams?.mapLayer;
if (hide
|| status !== statusTypes.LAYER
|| status !== statusTypes?.LAYER
|| !mapLayer?.dataset
|| mapLayer?.dataset?.sourcetype === SOURCE_TYPES.REMOTE
|| !changeResource
Expand Down Expand Up @@ -368,10 +368,6 @@ export default createPlugin('VisualStyleEditor', {
target: 'toolbar',
Component: ConnectedStyleEditorTocButton,
position: 100
},
LayerSettings: {
target: 'style-button',
Component: ConnectedStyleEditorTocButton
}
},
reducers: {
Expand Down

0 comments on commit 9b3860d

Please sign in to comment.