0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2025-02-02 19:37:01 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/modal/admin-wizards-columns.js

18 Zeilen
347 B
JavaScript

2023-09-14 19:14:44 +01:00
import Component from "@glimmer/component";
import { action } from "@ember/object";
2023-09-14 19:19:20 +01:00
import I18n from "I18n";
2023-09-14 19:14:44 +01:00
export default class AdminWizardsColumnComponent extends Component {
title = I18n.t("admin.wizard.edit_columns");
2023-09-24 12:16:41 +01:00
@action
save() {
2023-09-14 19:14:44 +01:00
this.args.closeModal();
}
2023-09-24 12:16:41 +01:00
@action
resetToDefault() {
2023-09-14 19:14:44 +01:00
this.args.model.reset();
}
}