discourse-ai/assets/javascripts/discourse/components/reviewable-ai-chat-message.js

14 lines
314 B
JavaScript
Raw Normal View History

import Component from "@glimmer/component";
import { inject as service } from "@ember/service";
export default class ReviewableAiChatMessage extends Component {
@service store;
get chatChannel() {
return this.store.createRecord(
"chat-channel",
this.args.reviewable.chat_channel
);
}
}