UX: Better composer-action icon when creating new topic.
This commit is contained in:
parent
f9a9bd136b
commit
dada1fc417
|
@ -35,7 +35,13 @@ export default DropdownSelectBoxComponent.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
iconForComposerAction: computed("action", function() {
|
iconForComposerAction: computed("action", function() {
|
||||||
return this.isEditing ? "pencil-alt" : "share";
|
if (this.isEditing) {
|
||||||
|
return "pencil-alt";
|
||||||
|
} else if (this.action == CREATE_TOPIC) {
|
||||||
|
return "plus";
|
||||||
|
} else {
|
||||||
|
return "share";
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
|
|
||||||
contentChanged() {
|
contentChanged() {
|
||||||
|
|
Loading…
Reference in New Issue