mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 05:59:39 +08:00
FIX: add home-logo outlet args to non glimmer version (#26495)
* FIX: add home-logo outlet args to non glimmer version * fix linting
This commit is contained in:
parent
c4e8221d7e
commit
1785eb8f88
|
@ -78,10 +78,7 @@ export default class HomeLogo extends Component {
|
|||
}
|
||||
|
||||
<template>
|
||||
<PluginOutlet
|
||||
@name="home-logo"
|
||||
@outletArgs={{hash minimized=@minimized href=this.href}}
|
||||
>
|
||||
<PluginOutlet @name="home-logo" @outletArgs={{hash minimized=@minimized}}>
|
||||
<div class={{concatClass (if @minimized "title--minimized") "title"}}>
|
||||
<a href={{this.href}} {{on "click" this.click}}>
|
||||
{{#if @minimized}}
|
||||
|
|
|
@ -5,7 +5,7 @@ registerWidgetShim(
|
|||
"home-logo-wrapper-outlet",
|
||||
"div.home-logo-wrapper-outlet",
|
||||
hbs`<PluginOutlet @name="home-logo-wrapper">
|
||||
<PluginOutlet @name="home-logo" @outletArgs>
|
||||
<PluginOutlet @name="home-logo" @outletArgs={{hash minimized=@data.topic}}>
|
||||
<MountWidget @widget="home-logo" @args={{@data}} />
|
||||
</PluginOutlet>
|
||||
</PluginOutlet>`
|
||||
|
|
Loading…
Reference in New Issue
Block a user