Merge branch 'main' into pro-release
Dieser Commit ist enthalten in:
Commit
4b21566673
2 geänderte Dateien mit 1 neuen und 10 gelöschten Zeilen
|
@ -20,6 +20,7 @@
|
||||||
//= require discourse-common/addon/lib/icon-library
|
//= require discourse-common/addon/lib/icon-library
|
||||||
//= require discourse-common/addon/lib/attribute-hook
|
//= require discourse-common/addon/lib/attribute-hook
|
||||||
//= require discourse-common/addon/lib/dom-from-string
|
//= require discourse-common/addon/lib/dom-from-string
|
||||||
|
//= require discourse-common/addon/lib/later
|
||||||
//= require_tree_discourse discourse-common/addon/utils
|
//= require_tree_discourse discourse-common/addon/utils
|
||||||
|
|
||||||
//= require_tree_discourse select-kit/addon
|
//= require_tree_discourse select-kit/addon
|
||||||
|
|
|
@ -90,16 +90,6 @@ export default Component.extend({
|
||||||
this.showMessage(message);
|
this.showMessage(message);
|
||||||
},
|
},
|
||||||
|
|
||||||
keyPress(event) {
|
|
||||||
if (event.key === "Enter") {
|
|
||||||
if (this.showDoneButton) {
|
|
||||||
this.send("quit");
|
|
||||||
} else {
|
|
||||||
this.send("nextStep");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
@discourseComputed("step.index", "wizard.totalSteps")
|
@discourseComputed("step.index", "wizard.totalSteps")
|
||||||
barStyle(displayIndex, totalSteps) {
|
barStyle(displayIndex, totalSteps) {
|
||||||
let ratio = parseFloat(displayIndex) / parseFloat(totalSteps - 1);
|
let ratio = parseFloat(displayIndex) / parseFloat(totalSteps - 1);
|
||||||
|
|
Laden …
In neuem Issue referenzieren