chore(Community Permissions): Mint asset button enabled in holdings dropdown

Closes: #11363
This commit is contained in:
Michał Cieślak 2023-07-05 23:43:15 +02:00 committed by Michał
parent a4b1b5500a
commit 16f3f0b2eb
4 changed files with 6 additions and 6 deletions

View File

@ -453,7 +453,7 @@ Item {
availableData: d.availableData
noDataText: root.noDataText
areHeaderButtonsVisible: root.state === d.depth1_ListState
&& !root.showAllTokensMode
headerModel: ListModel {
ListElement {
key: "MINT"

View File

@ -29,7 +29,7 @@ StackView {
signal updatePermissionRequested(string key, int permissionType,
var holdings, var channels, bool isPrivate)
signal removePermissionRequested(string key)
signal navigateToMintTokenSettings
signal navigateToMintTokenSettings(bool isAssetType)
function navigateBack() {
if (depth === 2 && currentItem.toast.active)
@ -201,7 +201,7 @@ StackView {
root.pop(StackView.Immediate)
}
onNavigateToMintTokenSettings: root.navigateToMintTokenSettings()
onNavigateToMintTokenSettings: root.navigateToMintTokenSettings(isAssetType)
function saveChanges() {
const holdings = dirtyValues.holdingsRequired ?

View File

@ -261,7 +261,7 @@ StatusSectionLayout {
onNavigateToMintTokenSettings: {
root.goTo(Constants.CommunitySettingsSections.MintTokens)
mintPanel.openNewTokenForm(false)
mintPanel.openNewTokenForm(isAssetType)
}
}

View File

@ -57,7 +57,7 @@ StatusScrollView {
property bool permissionTypeLimitReached: false
signal createPermissionClicked
signal navigateToMintTokenSettings
signal navigateToMintTokenSettings(bool isAssetType)
function resetChanges() {
d.loadInitValues()
@ -319,7 +319,7 @@ StatusScrollView {
}
onNavigateToMintTokenSettings: {
root.navigateToMintTokenSettings()
root.navigateToMintTokenSettings(isAssetType)
close()
}
}