chore(Permissions): Adding utility function getUniqueChannelPermission

This commit is contained in:
Alex Jbanca 2024-02-06 11:27:51 +02:00 committed by Alex Jbanca
parent bf90d1bbc0
commit 56d67f5ba2
1 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,10 @@ QtObject {
return Internal.PermissionUtils.getUniquePermissionChannels(model, permissionsTypesArray)
}
function getUniqueChannelPermission(model, channelKey) {
return Internal.PermissionUtils.getUniquePermissionChannels(model, channelKey)
}
function setHoldingsTextFormat(type, name, amount) {
if (typeof amount === "string")
amount = AmountsArithmetic.toNumber(AmountsArithmetic.fromString(amount))