mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Removed edit option from toolbar
https://github.com/TryGhost/Team/issues/1249 We have no floating settings now so we can remove the menu item and display the toolbar always when the card is selected
This commit is contained in:
parent
1338ddd12b
commit
7d7d856e77
1 changed files with 0 additions and 10 deletions
|
@ -30,9 +30,6 @@ export default class KoenigCardBeforeAfterComponent extends Component {
|
|||
}
|
||||
|
||||
get toolbar() {
|
||||
if (this.args.isEditing) {
|
||||
return false;
|
||||
}
|
||||
let cardWidth = this.args.payload.cardWidth;
|
||||
let orientation = this.args.payload.orientation;
|
||||
|
||||
|
@ -61,13 +58,6 @@ export default class KoenigCardBeforeAfterComponent extends Component {
|
|||
action: run.bind(this, this.setLayoutFull)
|
||||
}, {
|
||||
divider: true
|
||||
}, {
|
||||
buttonClass: 'fw4 flex items-center white',
|
||||
icon: 'koenig/kg-edit',
|
||||
iconClass: 'fill-white',
|
||||
title: 'Edit',
|
||||
text: '',
|
||||
action: run.bind(this, this.args.editCard)
|
||||
}]
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue