File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import litRender from "@ui5/webcomponents-base/dist/renderer/LitRenderer.js";
4
4
import { fetchI18nBundle , getI18nBundle } from "@ui5/webcomponents-base/dist/i18nBundle.js" ;
5
5
import ResizeHandler from "@ui5/webcomponents-base/dist/delegate/ResizeHandler.js" ;
6
6
import { SEGMENTEDBUTTON_ARIA_DESCRIPTION } from "./generated/i18n/i18n-defaults.js" ;
7
+ import ToggleButton from "./ToggleButton.js" ;
7
8
8
9
// Template
9
10
import SegmentedButtonTemplate from "./generated/templates/SegmentedButtonTemplate.lit.js" ;
@@ -93,7 +94,10 @@ class SegmentedButton extends UI5Element {
93
94
}
94
95
95
96
static async onDefine ( ) {
96
- await fetchI18nBundle ( "@ui5/webcomponents" ) ;
97
+ await Promise . all ( [
98
+ fetchI18nBundle ( "@ui5/webcomponents" ) ,
99
+ ToggleButton . define ( ) ,
100
+ ] ) ;
97
101
}
98
102
99
103
constructor ( ) {
You can’t perform that action at this time.
0 commit comments