@elite.framework/ng.core 2.0.33 → 2.0.34
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(moduleName + api + 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
|
}
|