1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 20:15:26 +02:00

Set org and per user locale

This commit is contained in:
Harvey Kandola 2022-03-19 18:07:38 -04:00
parent 23abcf1585
commit 4494ace0a2
30 changed files with 125 additions and 41 deletions

View file

@ -45,6 +45,7 @@ export default Service.extend({
// empty theme uses default theme
theme: '',
locale: '',
locales: null,
getBaseUrl(endpoint) {
return [this.get('endpoint'), endpoint].join('/');

View file

@ -35,7 +35,8 @@ export default Service.extend({
message: org.get('message'),
title: org.get('title'),
maxTags: org.get('maxTags'),
conversionEndpoint: org.get('conversionEndpoint')
conversionEndpoint: org.get('conversionEndpoint'),
locale: org.get('locale')
});
return this.get('ajax').request(`organization/${id}`, {