@elite.framework/ng.core 2.0.33 → 2.0.35
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.
|
@@ -71,9 +71,10 @@ class RestService {
|
|
|
71
71
|
// debugger
|
|
72
72
|
config = config || {};
|
|
73
73
|
api = api || this.getApiFromStore(config.apiName);
|
|
74
|
+
var moduleName = config.moduleName || '';
|
|
74
75
|
const { method, params, ...options } = request;
|
|
75
76
|
const { observe = "body" /* Rest.Observe.Body */, skipHandleError } = config;
|
|
76
|
-
const url = this.removeDuplicateSlashes(api + request.url);
|
|
77
|
+
const url = this.removeDuplicateSlashes(api + moduleName + request.url);
|
|
77
78
|
const httpClient = this.getHttpClient(config.skipAddingHeader ?? false);
|
|
78
79
|
return httpClient
|
|
79
80
|
.request(method, url, {
|
|
@@ -2035,7 +2036,8 @@ class FrameworkTitleStrategy extends TitleStrategy {
|
|
|
2035
2036
|
super();
|
|
2036
2037
|
effect(() => {
|
|
2037
2038
|
if (this.langugageChange()) {
|
|
2038
|
-
|
|
2039
|
+
// TODO:
|
|
2040
|
+
// this.updateTitle(this.routerState);
|
|
2039
2041
|
}
|
|
2040
2042
|
});
|
|
2041
2043
|
}
|
|
@@ -2044,7 +2046,7 @@ class FrameworkTitleStrategy extends TitleStrategy {
|
|
|
2044
2046
|
const title = this.buildTitle(routerState);
|
|
2045
2047
|
const projectName = this.localizationService.instant({
|
|
2046
2048
|
key: '::AppName',
|
|
2047
|
-
defaultValue: '
|
|
2049
|
+
defaultValue: '', // 'MyProjectName
|
|
2048
2050
|
});
|
|
2049
2051
|
if (!title) {
|
|
2050
2052
|
return this.title.setTitle(projectName);
|