Skip to content

Commit

Permalink
DEV: Convert to native class syntax (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq authored Nov 29, 2024
1 parent dfff7c4 commit cac6387
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions javascripts/discourse/components/group-alert.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Component from "@ember/component";
import { tagName } from "@ember-decorators/component";
import discourseComputed from "discourse-common/utils/decorators";

export default Component.extend({
tagName: "",

@tagName("")
export default class GroupAlert extends Component {
@discourseComputed
filteredBanners() {
let parsedSetting = JSON.parse(settings.banner_wizard);
Expand Down Expand Up @@ -47,5 +47,5 @@ export default Component.extend({
});

return filteredBanners;
},
});
}
}

0 comments on commit cac6387

Please sign in to comment.