DEV: makes <Chat::Admin::ExportMessage /> use glimmer (#22498)

This commit is contained in:
Joffrey JAFFEUX 2023-07-10 09:35:54 +02:00 committed by GitHub
parent 64dec1368c
commit 81a16a105e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,6 @@
@label="chat.admin.export_messages.create_export"
@title="chat.admin.export_messages.create_export"
@class="btn-primary"
@action={{action this.exportMessages}}
@action={{this.exportMessages}}
/>
</section>

View File

@ -1,10 +1,10 @@
import Component from "@ember/component";
import Component from "@glimmer/component";
import { action } from "@ember/object";
import { inject as service } from "@ember/service";
import { popupAjaxError } from "discourse/lib/ajax-error";
import I18n from "I18n";
export default class ExportMessages extends Component {
export default class ChatAdminExportMessages extends Component {
@service chatAdminApi;
@service dialog;