Merge pull request #13164 from appsmithorg/fix/Primary-column-control-visibility-icon-out-of-sync
fix: Primary column control visibility icon out of sync
This commit is contained in:
commit
302644473c
|
|
@ -61,6 +61,10 @@ export function DraggableListCard(props: RenderComponentProps) {
|
|||
const ref = useRef<HTMLInputElement | null>(null);
|
||||
const debouncedUpdate = _.debounce(updateOption, 1000);
|
||||
|
||||
useEffect(() => {
|
||||
setVisibility(item.isVisible);
|
||||
}, [item.isVisible]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!isEditing && item && item.label) setValue(item.label);
|
||||
}, [item?.label, isEditing]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user