fix(minor): setup-wizard page_name shows as undefined

This commit is contained in:
Rushabh Mehta 2021-01-13 16:23:00 +05:30
parent 1104e3aac2
commit bebfc491a4
2 changed files with 2 additions and 1 deletions

View file

@ -88,8 +88,8 @@ frappe.setup.SetupWizard = class SetupWizard extends frappe.ui.Slides {
super(args);
$.extend(this, args);
this.welcomed = true;
this.page_name = "setup-wizard";
this.welcomed = true;
frappe.set_route("setup-wizard/0");
}

View file

@ -242,6 +242,7 @@ frappe.ui.Slides = class Slides {
this.done_state = done_state;
this.before_load = before_load;
this.on_update = on_update;
this.page_name = "setup-wizard";
this.slide_dict = {};