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:
Arpit Jalan 2024-04-03 21:44:32 +05:30 committed by GitHub
parent c4e8221d7e
commit 1785eb8f88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -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}}

View File

@ -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>`