@intellegens/cornerstone-client 0.0.9999-alpha-35 → 0.0.9999-alpha-37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/api/dto/read/ReadSelectedSearchDefinitionBuilder.js +1 -1
- package/dist/services/api/ApiInitializationService/index.js +1 -1
- package/package.json +1 -1
- package/src/data/api/dto/read/ReadSelectedSearchDefinitionBuilder.ts +1 -1
- package/src/services/api/ApiInitializationService/index.ts +2 -2
|
@@ -262,6 +262,6 @@ export class SearchBuilder {
|
|
|
262
262
|
if (typeof str !== 'string') {
|
|
263
263
|
return str.toString();
|
|
264
264
|
}
|
|
265
|
-
return str.
|
|
265
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
266
266
|
}
|
|
267
267
|
}
|
|
@@ -194,7 +194,7 @@ export class ApiInitializationService {
|
|
|
194
194
|
throw apiResponse.error;
|
|
195
195
|
}
|
|
196
196
|
// Return the settings from the nested structure
|
|
197
|
-
this.appConfig = apiResponse.result.
|
|
197
|
+
this.appConfig = apiResponse.result.appSettings;
|
|
198
198
|
}
|
|
199
199
|
catch (error) {
|
|
200
200
|
console.error('Failed to get app config', error);
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ type ISharedSettings = {
|
|
|
17
17
|
* Initialization info DTO that matches the server-side structure
|
|
18
18
|
*/
|
|
19
19
|
type IInitializationInfoDto<TSharedSettings = ISharedSettings> = {
|
|
20
|
-
|
|
20
|
+
appSettings: TSharedSettings;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
import { ApiErrorResponseDto, ApiSuccessResponseDto, EmptyMetadataDto } from '@/data';
|
|
@@ -238,7 +238,7 @@ export class ApiInitializationService {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
// Return the settings from the nested structure
|
|
241
|
-
this.appConfig = apiResponse.result.
|
|
241
|
+
this.appConfig = apiResponse.result.appSettings;
|
|
242
242
|
} catch (error) {
|
|
243
243
|
console.error('Failed to get app config', error);
|
|
244
244
|
this.appConfig = undefined;
|