diff --git a/app/assets/javascripts/discourse/app/components/modal/activation-edit.js b/app/assets/javascripts/discourse/app/components/modal/activation-edit.gjs similarity index 55% rename from app/assets/javascripts/discourse/app/components/modal/activation-edit.js rename to app/assets/javascripts/discourse/app/components/modal/activation-edit.gjs index e287e460523..03c28585a27 100644 --- a/app/assets/javascripts/discourse/app/components/modal/activation-edit.js +++ b/app/assets/javascripts/discourse/app/components/modal/activation-edit.gjs @@ -2,8 +2,12 @@ import Component from "@glimmer/component"; import { tracked } from "@glimmer/tracking"; import { action } from "@ember/object"; import { service } from "@ember/service"; +import ActivationEmailForm from "discourse/components/activation-email-form"; +import DButton from "discourse/components/d-button"; +import DModal from "discourse/components/d-modal"; import { extractError } from "discourse/lib/ajax-error"; import { changeEmail } from "discourse/lib/user-activation"; +import { i18n } from "discourse-i18n"; import ActivationResent from "./activation-resent"; export default class ActivationEdit extends Component { @@ -38,4 +42,28 @@ export default class ActivationEdit extends Component { updateNewEmail(email) { this.newEmail = email; } + + } diff --git a/app/assets/javascripts/discourse/app/components/modal/activation-edit.hbs b/app/assets/javascripts/discourse/app/components/modal/activation-edit.hbs deleted file mode 100644 index db187ad8a4a..00000000000 --- a/app/assets/javascripts/discourse/app/components/modal/activation-edit.hbs +++ /dev/null @@ -1,21 +0,0 @@ - - <:body> - - - <:footer> - - - - \ No newline at end of file