mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Adds default highlight color (#4498)
This commit is contained in:
parent
2c856aae8d
commit
8b672f89c2
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export const Tabs = function Tabs({
|
|||
parsedTabs = parsedTabs.map((parsedTab, index) => ({ ...parsedTab, id: parsedTab.id ? parsedTab.id : index }));
|
||||
|
||||
// Highlight color - for active tab text and border
|
||||
const highlightColor = component.definition.styles?.highlightColor?.value ?? '';
|
||||
const highlightColor = component.definition.styles?.highlightColor?.value ?? '#f44336';
|
||||
let parsedHighlightColor = highlightColor;
|
||||
parsedHighlightColor = resolveWidgetFieldValue(highlightColor, currentState);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue