Skip to content

Commit 8a0d992

Browse files
committed
bugfix(public-page-form): make checked status for showHighlights not require double click
1 parent f96b603 commit 8a0d992

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontends/dashboard/src/pages/dataset/PublicPageSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ const PublicPageControls = () => {
10781078
</div>
10791079
<input
10801080
type="checkbox"
1081-
checked={extraParams.showResultHighlights === true}
1081+
checked={extraParams.showResultHighlights ?? true}
10821082
onChange={(e) => {
10831083
setExtraParams(
10841084
"showResultHighlights",

0 commit comments

Comments
 (0)