Skip to content

Commit

Permalink
[Obs AI Assistant] Remove hardcoded lines
Browse files Browse the repository at this point in the history
  • Loading branch information
viduni94 committed Nov 26, 2024
1 parent f0aef54 commit 21f081d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export type ThemeTags = readonly ThemeTag[];
* An array of theme tags available in Kibana by default when not customized
* using KBN_OPTIMIZER_THEMES environment variable.
*/
export const DEFAULT_THEME_TAGS: ThemeTags = SUPPORTED_THEME_TAGS; // TODO: (Viduni) remove after design QA on deployment
// export const DEFAULT_THEME_TAGS: ThemeTags = ThemeAmsterdamTags; // TODO: (Viduni) uncomment after design QA on deployment
export const DEFAULT_THEME_TAGS: ThemeTags = ThemeAmsterdamTags;

export const FALLBACK_THEME_TAG: ThemeTag = 'v8light';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ export const getThemeSettings = (
}),
},
value: 'amsterdam',
// TODO: (Viduni) Remove after design QA on deployment
// readonly: Object.hasOwn(options, 'isThemeSwitcherEnabled')
// ? !options.isThemeSwitcherEnabled
// : true,
readonly: Object.hasOwn(options, 'isThemeSwitcherEnabled')
? !options.isThemeSwitcherEnabled
: true,
requiresPageReload: true,
schema: schema.oneOf([
schema.literal('amsterdam'),
Expand Down

0 comments on commit 21f081d

Please sign in to comment.