0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-14 22:02:53 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/modal/admin-wizards-columns.js

16 Zeilen
343 B
JavaScript

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