A platform for community discussion. Free, open, simple.
DEV: Add plugin outlet to the group info template (#28624)
Jean22c7fde850f1
diff --git a/app/assets/javascripts/discourse/app/components/groups-info.gjs b/app/assets/javascripts/discourse/app/components/groups-info.gjsindex ba50e2984f0..052da089068 100644--- a/app/assets/javascripts/discourse/app/components/groups-info.gjs+++ b/app/assets/javascripts/discourse/app/components/groups-info.gjs@@ -1,11 +1,19 @@+import { hash } from "@ember/helper";import { or } from "truth-helpers";+import PluginOutlet from "discourse/components/plugin-outlet";const GroupsInfo = <template>- <span class="group-info-details">- <span class="groups-info-name">- {{or @group.full_name @group.displayName}}+ <PluginOutlet+ @name="group-info-details"+ @outletArgs={{hash group=@group}}+ @defaultGlimmer={{true}}+ >+ <span class="group-info-details">+ <span class="groups-info-name">+ {{or @group.full_name @group.displayName}}+ </span></span>- </span>+ </PluginOutlet></template>;export default GroupsInfo;