Skip to content

Commit

Permalink
Fix the bug with the orientation dropdown not being consistent with t…
Browse files Browse the repository at this point in the history
…he board editor.
  • Loading branch information
johndoknjas committed Nov 4, 2024
1 parent 8fb94a3 commit 27fa16a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/view/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ export function titleNameToId(titleName: string): string {
}

export const option = (value: string, current: string | undefined, name: string) =>
h('option', { attrs: { value: value, selected: value === current } }, name);
h('option', { attrs: { value: value, selected: value.toLowerCase() === current?.toLowerCase() } }, name);

0 comments on commit 27fa16a

Please sign in to comment.