Skip to content

Commit c63b6e1

Browse files
committed
fix: make important true by default
1 parent 794f391 commit c63b6e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/designer/src/builtin-simulator/bem-tools/border-selecting.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Toolbar extends Component<{ observed: OffsetObserver }> {
9898
const { node } = observed;
9999
const actions: ReactNodeArray = [];
100100
node.componentMeta.availableActions.forEach((action) => {
101-
const { important, condition, content, name } = action;
101+
const { important = true, condition, content, name } = action;
102102
if (node.isSlot() && (name === 'copy' || name === 'remove')) {
103103
// FIXME: need this?
104104
return;

0 commit comments

Comments
 (0)