DEV: Minor follow up to d7e230c1b9

This commit is contained in:
Guo Xiang Tan 2020-05-14 16:02:54 +08:00
parent 95a80525ae
commit fdea969f14
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 1 additions and 6 deletions

View File

@ -35,12 +35,7 @@ export default DropdownSelectBoxComponent.extend({
},
iconForComposerAction: computed("action", function() {
switch (this.action) {
case EDIT:
return "pencil-alt";
default:
return "share";
}
return this.isEditing ? "pencil-alt" : "share";
}),
contentChanged() {