mirror of
https://github.com/discourse/discourse.git
synced 2025-01-01 15:53:53 +08:00
DEV: Convert CategoryTitleBefore to gjs (#30411)
This commit is contained in:
parent
5ecc981f56
commit
59b43b15ee
|
@ -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;
|
|
@ -1,4 +0,0 @@
|
|||
<PluginOutlet
|
||||
@name="category-title-before"
|
||||
@outletArgs={{hash category=this.category}}
|
||||
/>
|
|
@ -1,5 +0,0 @@
|
|||
import Component from "@ember/component";
|
||||
import { tagName } from "@ember-decorators/component";
|
||||
|
||||
@tagName("")
|
||||
export default class CategoryTitleBefore extends Component {}
|
Loading…
Reference in New Issue
Block a user