diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-22 15:15:08 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-22 15:15:08 +0200 |
| commit | 779b3dc1228030740ccfbd5192bcd368b526ce56 (patch) | |
| tree | a62252de260a13a25421f5eff6978bc81fb44ee9 /src/services/theme_data/theme2_to_theme3.js | |
| parent | 09e0e53ad6bb2afd53baf5281290dcee4c20327a (diff) | |
blur support, fix toggled buttons not working right
Diffstat (limited to 'src/services/theme_data/theme2_to_theme3.js')
| -rw-r--r-- | src/services/theme_data/theme2_to_theme3.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/services/theme_data/theme2_to_theme3.js b/src/services/theme_data/theme2_to_theme3.js index 32797c42..7adbbd42 100644 --- a/src/services/theme_data/theme2_to_theme3.js +++ b/src/services/theme_data/theme2_to_theme3.js @@ -193,7 +193,6 @@ export const convertTheme2To3 = (data) => { newRules.push({ ...rule, component: 'Tab' }) } }) - console.log(newRules) return newRules } @@ -424,12 +423,12 @@ export const convertTheme2To3 = (data) => { case 'alert': { const hasPanel = variantArray.find(x => x === 'Panel') if (hasPanel) { - rule.parent = { component: 'PanelHeader' } + newRule.parent = { component: 'PanelHeader' } variantArray = variantArray.filter(x => x !== 'Panel') } const hasTop = variantArray.find(x => x === 'Top') // TopBar if (hasTop) { - rule.parent = { component: 'TopBar' } + newRule.parent = { component: 'TopBar' } variantArray = variantArray.filter(x => x !== 'Top' && x !== 'Bar') } break |
