0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-05-19 23:40:07 +02:00
Dieser Commit ist enthalten in:
Angus McLeod 2024-02-23 11:39:12 +02:00
Ursprung e5359aa649
Commit 325feb78cc
2 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -1,6 +1,5 @@
import discourseComputed, { observes } from "discourse-common/utils/decorators";
import Component from "@ember/component";
import I18n from "I18n";
import getUrl from "discourse-common/lib/get-url";
import { htmlSafe } from "@ember/template";
import { schedule } from "@ember/runloop";
@ -11,8 +10,6 @@ import CustomWizard, {
import { alias, not } from "@ember/object/computed";
import discourseLater from "discourse-common/lib/later";
const alreadyWarned = {};
export default Component.extend({
classNameBindings: [":wizard-step", "step.id"],
saving: null,
@ -199,7 +196,7 @@ export default Component.extend({
this.step.validate();
if (step.get("valid")) {
if (this.step.get("valid")) {
this.advance();
} else {
this.autoFocus();

Datei anzeigen

@ -42,7 +42,7 @@ export default DiscourseRoute.extend({
},
];
this.dialog.dialog({ title, buttons, type: 'confirm' });
this.dialog.dialog({ title, buttons, type: "confirm" });
},
afterModel(model) {