From 28cf80ec9b34fb5a3a188fb6a6589adae2f939d2 Mon Sep 17 00:00:00 2001 From: hillelcoren Date: Fri, 4 Feb 2022 07:36:10 +0000 Subject: [PATCH] Admin Portal - Profile --- public/main.profile.dart.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 86b56c7f689e..87d6b4a43378 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -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; },