1
0
Fork 0

Removed conditional statement that would always be true

Dieser Commit ist enthalten in:
Wan Bachtiar 2022-11-17 08:59:53 +11:00
Ursprung d6ee1501d1
Commit 5b923f3340

Datei anzeigen

@ -37,10 +37,7 @@ export default Controller.extend({
@discourseComputed("wizard.id")
wizardUrl(wizardId) {
let baseUrl = window.location.href.split("/admin");
if (baseUrl.length > 1) {
return baseUrl[0] + "/w/" + dasherize(wizardId);
}
return window.location.origin + "/w/" + dasherize(wizardId);
},
@discourseComputed("wizard.after_time_scheduled")