misham
(Mykhailo)
Décembre 23, 2022, 3:15
1
Hi! I`m trying to mount a widget in a raw hbs template
<MountWidget @widget="header-notifications" @args={{this.currentUser}}/>
but an error is thrown. I think it is so because I’ve added incorrect args, but I don’t know how to add it correct way, can you help how to add so the widget would work
1 « J'aime »
misham
(Mykhailo)
Décembre 23, 2022, 3:17
2
Do this like this
<MountWidget @widget="header-notifications" @args={{hash user=this.currentUser}}/>
1 « J'aime »
system
(system)
A fermé ce sujet ()
Janvier 22, 2023, 3:17
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.