mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 19:32:44 +08:00
FIX: Prevent usage of composer-action-undefined
CSS class (#11445)
This commit is contained in:
parent
8ff9cdf390
commit
06077856ce
|
@ -45,7 +45,7 @@ export default Component.extend(KeyEnterEscape, {
|
||||||
|
|
||||||
@discourseComputed("composer.action")
|
@discourseComputed("composer.action")
|
||||||
prefixedComposerAction(action) {
|
prefixedComposerAction(action) {
|
||||||
return `composer-action-${action}`;
|
return action ? `composer-action-${action}` : "";
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed("currentUser.primary_group_name")
|
@discourseComputed("currentUser.primary_group_name")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user