Skip to content

Commit 9eaaa38

Browse files
committed
Add multiple mode on layer list on project editor
1 parent 9019922 commit 9eaaa38

File tree

2 files changed

+3
-2
lines changed
  • django_project/frontend/src

2 files changed

+3
-2
lines changed

django_project/frontend/src/components/HelpPage/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const HelpPage = forwardRef(
3737

3838
useImperativeHandle(ref, () => ({
3939
open() {
40-
return setOpen(true)
40+
return setOpen(_ => !_)
4141
}
4242
}));
4343

django_project/frontend/src/pages/Admin/Dashboard/Form/IndicatorLayers/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,11 +352,12 @@ export default function IndicatorLayersForm() {
352352
}
353353
} else {
354354
// If it is multi indicator
355+
console.log(layer)
355356
return <div className='OtherActionFunctionsWrapper'>
356357
<div className='LayerCountIndicatorWrapper'>
357358
<div className='Separator'></div>
358359
<div className='LayerCountIndicator'>
359-
{layer.indicators.length + ' Layers'}
360+
{layer.indicators.length + ' Layers (' + (layer.multi_indicator_mode) + ')'}
360361
</div>
361362
</div>
362363
<MultiIndicatorConfig

0 commit comments

Comments
 (0)