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

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() {