Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
linting
Dieser Commit ist enthalten in:
Ursprung
15f596e8ec
Commit
56181f65f4
2 geänderte Dateien mit 8 neuen und 4 gelöschten Zeilen
|
@ -5,11 +5,13 @@ import I18n from "I18n";
|
||||||
export default class AdminWizardsColumnComponent extends Component {
|
export default class AdminWizardsColumnComponent extends Component {
|
||||||
title = I18n.t("admin.wizard.edit_columns");
|
title = I18n.t("admin.wizard.edit_columns");
|
||||||
|
|
||||||
@action save() {
|
@action
|
||||||
|
save() {
|
||||||
this.args.closeModal();
|
this.args.closeModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
@action resetToDefault() {
|
@action
|
||||||
|
resetToDefault() {
|
||||||
this.args.model.reset();
|
this.args.model.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,13 +18,15 @@ export default class NextSessionScheduledComponent extends Component {
|
||||||
return moment().isAfter(this.bufferedDateTime);
|
return moment().isAfter(this.bufferedDateTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
@action submit() {
|
@action
|
||||||
|
submit() {
|
||||||
const dateTime = this.bufferedDateTime;
|
const dateTime = this.bufferedDateTime;
|
||||||
this.args.model.update(moment(dateTime).utc().toISOString());
|
this.args.model.update(moment(dateTime).utc().toISOString());
|
||||||
this.args.closeModal();
|
this.args.closeModal();
|
||||||
}
|
}
|
||||||
|
|
||||||
@action dateTimeChanged(dateTime) {
|
@action
|
||||||
|
dateTimeChanged(dateTime) {
|
||||||
this.bufferedDateTime = dateTime;
|
this.bufferedDateTime = dateTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren