mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Admin Portal - Profile
This commit is contained in:
parent
b69fd8c46e
commit
28cf80ec9b
5
public/main.profile.dart.js
vendored
5
public/main.profile.dart.js
vendored
@ -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;
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user