Skip to content

Commit 677bc88

Browse files
committed
Normalise global toolbar reset value to undefined
1 parent 37e4266 commit 677bc88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/core/src/toolbar/utils/normalize-toolbar-arg-type.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const normalizeArgType = (
2222
if (item.type === 'reset' && argType.toolbar.icon) {
2323
item.icon = argType.toolbar.icon;
2424
item.hideIcon = true;
25+
item.value = undefined;
2526
}
2627

2728
return { ...defaultItemValues, ...item };

0 commit comments

Comments
 (0)