discourse-ai/assets/javascripts/discourse/connectors/topic-list-heading-bottom/desktop-gist-disclosure.gjs

17 lines
474 B
Plaintext

import Component from "@glimmer/component";
import AiGistDisclosure from "../../components/ai-gist-disclosure";
export default class AiTopicGist extends Component {
static shouldRender(outletArgs) {
return (
// "default" can be removed after the glimmer topic list is rolled out
(outletArgs?.name === "default" || outletArgs?.name === "topic.title") &&
!outletArgs.bulkSelectEnabled
);
}
<template>
<AiGistDisclosure />
</template>
}