diff --git a/app/assets/javascripts/admin/addon/adapters/user-field.js b/app/assets/javascripts/admin/addon/adapters/user-field.js index f362b06fe1d..dd188480123 100644 --- a/app/assets/javascripts/admin/addon/adapters/user-field.js +++ b/app/assets/javascripts/admin/addon/adapters/user-field.js @@ -1,2 +1,7 @@ -import CustomizationBase from "admin/adapters/customization-base"; -export default CustomizationBase; +import RestAdapter from "discourse/adapters/rest"; + +export default class UserFieldAdapter extends RestAdapter { + basePath() { + return "/admin/config/"; + } +} diff --git a/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-list.gjs b/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-list.gjs index 40c1627514b..2f4a450c954 100644 --- a/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-list.gjs +++ b/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-list.gjs @@ -90,7 +90,7 @@ export default class AdminConfigAreasEmojisList extends Component { {{/if}} diff --git a/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-new.gjs b/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-new.gjs index 3e1688cd60e..6f187ec5116 100644 --- a/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-new.gjs +++ b/app/assets/javascripts/admin/addon/components/admin-config-areas/emojis-new.gjs @@ -29,7 +29,7 @@ export default class AdminConfigAreasEmojisNew extends Component {