1
0
Fork 0

Merge branch 'main' into pro-release

Dieser Commit ist enthalten in:
Angus McLeod 2022-07-18 08:53:49 +01:00
Commit 4b21566673
2 geänderte Dateien mit 1 neuen und 10 gelöschten Zeilen

Datei anzeigen

@ -20,6 +20,7 @@
//= require discourse-common/addon/lib/icon-library
//= require discourse-common/addon/lib/attribute-hook
//= require discourse-common/addon/lib/dom-from-string
//= require discourse-common/addon/lib/later
//= require_tree_discourse discourse-common/addon/utils
//= require_tree_discourse select-kit/addon

Datei anzeigen

@ -90,16 +90,6 @@ export default Component.extend({
this.showMessage(message);
},
keyPress(event) {
if (event.key === "Enter") {
if (this.showDoneButton) {
this.send("quit");
} else {
this.send("nextStep");
}
}
},
@discourseComputed("step.index", "wizard.totalSteps")
barStyle(displayIndex, totalSteps) {
let ratio = parseFloat(displayIndex) / parseFloat(totalSteps - 1);