mobicloud-core 1.0.242 → 1.0.243
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/bundles/mobicloud-core-components.umd.js +3 -3
- package/bundles/mobicloud-core-components.umd.js.map +1 -1
- package/esm2015/components/customer-user/customer-user-image/customer-user-image.component.js +2 -2
- package/esm2015/components/employee/employee-profile-image/employee-profile-image.component.js +2 -2
- package/esm2015/components/vendor-user/vendor-user-image/vendor-user-image.component.js +2 -2
- package/fesm2015/mobicloud-core-components.js +3 -3
- package/fesm2015/mobicloud-core-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -2428,7 +2428,7 @@
|
|
|
2428
2428
|
var _a;
|
|
2429
2429
|
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
2430
2430
|
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.editAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.employee) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
2431
|
-
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("Employee(" + ((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage
|
|
2431
|
+
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("Employee(" + ((_a = this.employee) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage");
|
|
2432
2432
|
};
|
|
2433
2433
|
EmployeeProfileImageComponent.prototype.getProfileImageUrl = function () {
|
|
2434
2434
|
if (this.employee)
|
|
@@ -3452,7 +3452,7 @@
|
|
|
3452
3452
|
var _a;
|
|
3453
3453
|
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
3454
3454
|
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
3455
|
-
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("customeruser(" + ((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage
|
|
3455
|
+
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("customeruser(" + ((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage");
|
|
3456
3456
|
};
|
|
3457
3457
|
CustomerUserImageComponent.prototype.getProfileImageUrl = function () {
|
|
3458
3458
|
var _a;
|
|
@@ -4506,7 +4506,7 @@
|
|
|
4506
4506
|
var _a;
|
|
4507
4507
|
this.coreService.mobiUserProfileObservable.subscribe(function (p) { return _this.fullEditAllowed = _this.coreService.isMasterOrganizationUserAuthenticated(); });
|
|
4508
4508
|
this.coreService.mobiUserProfileObservable.subscribe(function (p) { var _a; return _this.fullEditAllowed = (_this.coreService.isMasterOrganizationUserAuthenticated() || (p === null || p === void 0 ? void 0 : p.user_id) == ((_a = _this.user) === null || _a === void 0 ? void 0 : _a.Id)); });
|
|
4509
|
-
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("vendoruser(" + ((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage
|
|
4509
|
+
this.uploadUrl = this.cloudDataService.getMobiManagementODataUrl("vendoruser(" + ((_a = this.user) === null || _a === void 0 ? void 0 : _a.Id) + ")/UploadProfileImage");
|
|
4510
4510
|
};
|
|
4511
4511
|
VendorUserImageComponent.prototype.getProfileImageUrl = function () {
|
|
4512
4512
|
var _a;
|