Skip to content

Commit c60a926

Browse files
author
Anuar Talipov
authored
Fix typo in regex_edit_dialog_container.ts. (tensorflow#6769)
## Motivation for features / changes Fix a typo `darkModeEanbled` -> `darkModeEnabled ` ## Technical description of changes Fixing a typo made in code. Although it doesn't change functionality, it keeps the code health. ## Screenshots of UI changes (or N/A) N/A ## Detailed steps to verify changes work correctly (as executed by you) N/A ## Alternate designs / implementations considered (or N/A) N/A
1 parent d73e213 commit c60a926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorboard/webapp/runs/views/runs_table/regex_edit_dialog_container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class RegexEditDialogContainer {
9090
this.store.select(getDarkModeEnabled)
9191
),
9292
map(
93-
([regexString, allRuns, runIdToEid, colorPalette, darkModeEanbled]) => {
93+
([regexString, allRuns, runIdToEid, colorPalette, darkModeEnabled]) => {
9494
const groupBy = {
9595
key: GroupByKey.REGEX,
9696
regexString,
@@ -107,7 +107,7 @@ export class RegexEditDialogContainer {
107107
colorPalette.colors[
108108
groupKeyToColorString.size % colorPalette.colors.length
109109
];
110-
colorHex = darkModeEanbled ? color.darkHex : color.lightHex;
110+
colorHex = darkModeEnabled ? color.darkHex : color.lightHex;
111111
groupKeyToColorString.set(groupId, colorHex);
112112
}
113113
colorRunPairList.push({groupId, color: colorHex, runs});

0 commit comments

Comments
 (0)