We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51553bc commit f92c2cdCopy full SHA for f92c2cd
assets/javascripts/discourse/components/wizard-links.js.es6
@@ -81,7 +81,8 @@ export default Component.extend({
81
82
let index = 0;
83
if (items.length) {
84
- index = items.length;
+ let last_item = items[items.length - 1];
85
+ index = Number(last_item.id.split("_").pop());
86
}
87
88
params.index = index;
plugin.rb
@@ -1,7 +1,7 @@
1
# frozen_string_literal: true
2
# name: discourse-custom-wizard
3
# about: Create custom wizards
4
-# version: 1.17.0
+# version: 1.17.1
5
# authors: Angus McLeod
6
# url: https://github.com/paviliondev/discourse-custom-wizard
7
# contact emails: angus@thepavilion.io
0 commit comments