Commit 62e1e78f by Tobias Skarhed Committed by GitHub

DatatLinks: Fix open in new tab state mismatch (#25826)

parent e4642de5
......@@ -53,7 +53,7 @@ export const DataLinkEditor: React.FC<DataLinkEditorProps> = React.memo(
</Field>
<Field label="Open in new tab">
<Switch checked={value.targetBlank || false} onChange={onOpenInNewTabChanged} />
<Switch value={value.targetBlank || false} onChange={onOpenInNewTabChanged} />
</Field>
{isLast && (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment