chore(Community Permissions): Mint asset button enabled in holdings dropdown
Closes: #11363
This commit is contained in:
parent
a4b1b5500a
commit
16f3f0b2eb
|
@ -453,7 +453,7 @@ Item {
|
|||
availableData: d.availableData
|
||||
noDataText: root.noDataText
|
||||
areHeaderButtonsVisible: root.state === d.depth1_ListState
|
||||
&& !root.showAllTokensMode
|
||||
|
||||
headerModel: ListModel {
|
||||
ListElement {
|
||||
key: "MINT"
|
||||
|
|
|
@ -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 ?
|
||||
|
|
|
@ -261,7 +261,7 @@ StatusSectionLayout {
|
|||
|
||||
onNavigateToMintTokenSettings: {
|
||||
root.goTo(Constants.CommunitySettingsSections.MintTokens)
|
||||
mintPanel.openNewTokenForm(false)
|
||||
mintPanel.openNewTokenForm(isAssetType)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue