chore(Permissions): Adding utility function getUniqueChannelPermission
This commit is contained in:
parent
bf90d1bbc0
commit
56d67f5ba2
|
@ -78,6 +78,10 @@ QtObject {
|
||||||
return Internal.PermissionUtils.getUniquePermissionChannels(model, permissionsTypesArray)
|
return Internal.PermissionUtils.getUniquePermissionChannels(model, permissionsTypesArray)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getUniqueChannelPermission(model, channelKey) {
|
||||||
|
return Internal.PermissionUtils.getUniquePermissionChannels(model, channelKey)
|
||||||
|
}
|
||||||
|
|
||||||
function setHoldingsTextFormat(type, name, amount) {
|
function setHoldingsTextFormat(type, name, amount) {
|
||||||
if (typeof amount === "string")
|
if (typeof amount === "string")
|
||||||
amount = AmountsArithmetic.toNumber(AmountsArithmetic.fromString(amount))
|
amount = AmountsArithmetic.toNumber(AmountsArithmetic.fromString(amount))
|
||||||
|
|
Loading…
Reference in New Issue