fix(qmlWarnings): Fixed minting module related warnings
Fixed minting module related warnings
This commit is contained in:
parent
17fc999ca0
commit
8e9ae308d5
|
@ -1,4 +1,4 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.15
|
||||||
|
|
||||||
import AppLayouts.Chat.controls.community 1.0
|
import AppLayouts.Chat.controls.community 1.0
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ QtObject {
|
||||||
|
|
||||||
readonly property bool isOwner: false
|
readonly property bool isOwner: false
|
||||||
|
|
||||||
property var mintingModuleInst: mintingModule
|
property var mintingModuleInst: mintingModule ?? null
|
||||||
|
|
||||||
property var permissionsModel: ListModel {} // Backend permissions list object model assignment. Please check the current expected data in qml defined in `createPermissions` method
|
property var permissionsModel: ListModel {} // Backend permissions list object model assignment. Please check the current expected data in qml defined in `createPermissions` method
|
||||||
property var permissionConflict: QtObject { // Backend conflicts object model assignment. Now mocked data.
|
property var permissionConflict: QtObject { // Backend conflicts object model assignment. Now mocked data.
|
||||||
|
@ -207,9 +207,8 @@ QtObject {
|
||||||
root.permissionsModel.remove(index)
|
root.permissionsModel.remove(index)
|
||||||
}
|
}
|
||||||
|
|
||||||
//MINTING
|
// Minting tokens:
|
||||||
|
property var mintTokensModel: mintingModuleInst ? mintingModuleInst.tokensModel : null
|
||||||
property var mintTokensModel: !!mintingModuleInst ? mintingModuleInst.tokensModel : null
|
|
||||||
|
|
||||||
function mintCollectible(address, name, symbol, description, supply,
|
function mintCollectible(address, name, symbol, description, supply,
|
||||||
infiniteSupply, transferable, selfDestruct, network)
|
infiniteSupply, transferable, selfDestruct, network)
|
||||||
|
|
Loading…
Reference in New Issue