mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
@@ -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>`
|
||||
|
||||
Reference in New Issue
Block a user