File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
assets/javascripts/discourse Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { observes } from "discourse-common/utils/decorators";
66export default {
77 name : "custom-wizard-edits" ,
88 initialize ( container ) {
9- const siteSettings = container . lookup ( "site-settings:main " ) ;
9+ const siteSettings = container . lookup ( "service: site-settings" ) ;
1010
1111 if ( ! siteSettings . custom_wizard_enabled ) {
1212 return ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ export default {
66
77 initialize : function ( container ) {
88 const messageBus = container . lookup ( "service:message-bus" ) ;
9- const siteSettings = container . lookup ( "site-settings:main " ) ;
9+ const siteSettings = container . lookup ( "service: site-settings" ) ;
1010
1111 if ( ! siteSettings . custom_wizard_enabled || ! messageBus ) {
1212 return ;
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ export function buildFieldValidations(validations) {
226226 wizardSchema . field . validations = validations ;
227227}
228228
229- const siteSettings = getOwner ( this ) . lookup ( "site-settings:main " ) ;
229+ const siteSettings = getOwner ( this ) . lookup ( "service: site-settings" ) ;
230230if ( siteSettings . wizard_apis_enabled ) {
231231 wizardSchema . action . types . send_to_api = {
232232 api : null ,
You can’t perform that action at this time.
0 commit comments