FIX: Prevent usage of composer-action-undefined CSS class (#11445)

This commit is contained in:
Gerhard Schlager
2020-12-09 15:22:53 +01:00
committed by GitHub
parent 8ff9cdf390
commit 06077856ce

View File

@@ -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")