Admin Portal - Profile

This commit is contained in:
hillelcoren 2022-02-04 07:36:10 +00:00
parent b69fd8c46e
commit 28cf80ec9b

View File

@ -269691,7 +269691,7 @@
return A.matchesStringsValue(A._setArrayType([_this.vatNumber, _this.idNumber, _this.number, _this.phone, _this.address1, _this.city, _this.postalCode, _this.customValue1, _this.customValue2, _this.customValue3, _this.customValue4], type$.JSArray_legacy_String), filter);
},
getActions$4$client$includeEdit$multiselect$userCompany(client, includeEdit, multiselect, userCompany) {
var _this = this,
var t1, _this = this,
actions = A._setArrayType([], type$.JSArray_legacy_EntityAction);
if (!_this.isDeleted && !multiselect) {
if (includeEdit && userCompany.canEditEntity$1(_this))
@ -269718,7 +269718,8 @@
if (actions.length !== 0 && B.JSArray_methods.get$last(actions) != null)
actions.push(null);
B.JSArray_methods.addAll$1(actions, _this.super$BaseEntity$getActions(null, false, false, userCompany));
if (userCompany.isAdmin && !multiselect)
t1 = userCompany.isAdmin && !multiselect;
if (t1)
actions.push(B.EntityAction_purge);
return actions;
},