import { apiInitializer } from "discourse/lib/api";
export default apiInitializer((api) => {
api.renderInOutlet("user-post-names",
<template>
{{#if @outletArgs.model}}
<div class="uid-label-profile">
UID:
<span class="uid-value-profile">
{{ @outletArgs.model.id }}
</span>
</div>
{{/if}}
</template>
);
});
@Moin your breakdown was spot on — just followed it and everything works flawlessly now. Thank you.