DEV: Convert CategoryTitleBefore to gjs (#30411)

This commit is contained in:
Jarek Radosz 2024-12-23 00:54:48 +01:00 committed by GitHub
parent 5ecc981f56
commit 59b43b15ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 9 deletions

View File

@ -0,0 +1,11 @@
import { hash } from "@ember/helper";
import PluginOutlet from "discourse/components/plugin-outlet";
const CategoryTitleBefore = <template>
<PluginOutlet
@name="category-title-before"
@outletArgs={{hash category=@category}}
/>
</template>;
export default CategoryTitleBefore;

View File

@ -1,4 +0,0 @@
<PluginOutlet
@name="category-title-before"
@outletArgs={{hash category=this.category}}
/>

View File

@ -1,5 +0,0 @@
import Component from "@ember/component";
import { tagName } from "@ember-decorators/component";
@tagName("")
export default class CategoryTitleBefore extends Component {}