mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 18:57:20 -05:00
DEV: Ensure new-feature-item renders without a title (#36728)
This is used in a private plugin to show a preview. That plugin's tests regressed due to this change.
This commit is contained in:
@@ -22,7 +22,7 @@ export default class DiscourseNewFeatureItem extends Component {
|
||||
@tracked isExperiment = this.args.item.experiment;
|
||||
|
||||
get identifier() {
|
||||
return dasherize(this.args.item.title);
|
||||
return this.args.item.title ? dasherize(this.args.item.title) : null;
|
||||
}
|
||||
|
||||
@action
|
||||
|
||||
Reference in New Issue
Block a user