mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
fix: make important true by default
This commit is contained in:
parent
794f391ce7
commit
c63b6e1bfa
@ -98,7 +98,7 @@ class Toolbar extends Component<{ observed: OffsetObserver }> {
|
||||
const { node } = observed;
|
||||
const actions: ReactNodeArray = [];
|
||||
node.componentMeta.availableActions.forEach((action) => {
|
||||
const { important, condition, content, name } = action;
|
||||
const { important = true, condition, content, name } = action;
|
||||
if (node.isSlot() && (name === 'copy' || name === 'remove')) {
|
||||
// FIXME: need this?
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user