mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 16:53:43 +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")
|
||||
prefixedComposerAction(action) {
|
||||
return `composer-action-${action}`;
|
||||
return action ? `composer-action-${action}` : "";
|
||||
},
|
||||
|
||||
@discourseComputed("currentUser.primary_group_name")
|
||||
|
|
Loading…
Reference in New Issue
Block a user