Removed conditional statement that would always be true
Dieser Commit ist enthalten in:
Ursprung
d6ee1501d1
Commit
5b923f3340
1 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
|
@ -37,10 +37,7 @@ export default Controller.extend({
|
||||||
@discourseComputed("wizard.id")
|
@discourseComputed("wizard.id")
|
||||||
wizardUrl(wizardId) {
|
wizardUrl(wizardId) {
|
||||||
let baseUrl = window.location.href.split("/admin");
|
let baseUrl = window.location.href.split("/admin");
|
||||||
if (baseUrl.length > 1) {
|
return baseUrl[0] + "/w/" + dasherize(wizardId);
|
||||||
return baseUrl[0] + "/w/" + dasherize(wizardId);
|
|
||||||
}
|
|
||||||
return window.location.origin + "/w/" + dasherize(wizardId);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed("wizard.after_time_scheduled")
|
@discourseComputed("wizard.after_time_scheduled")
|
||||||
|
|
Laden …
In neuem Issue referenzieren