0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 01:10:28 +01:00

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")