chore(Wallet.RootStore): Fixed qml runtime error. (#15323)

Quickfix
This commit is contained in:
Roman Chornii 2024-06-25 21:17:48 +03:00 committed by GitHub
parent 1dcf2d485a
commit 3e04967309
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -113,6 +113,7 @@ QtObject {
id: d id: d
readonly property var mainModuleInst: mainModule readonly property var mainModuleInst: mainModule
readonly property var walletSectionSavedAddressesInst: walletSectionSavedAddresses
readonly property Connections walletSectionSavedAddressesConnections: Connections{ readonly property Connections walletSectionSavedAddressesConnections: Connections{
target: walletSectionSavedAddresses target: walletSectionSavedAddresses
@ -284,7 +285,7 @@ QtObject {
isTest: false, isTest: false,
} }
const jsonObj = root.walletSectionSavedAddressesInst.getSavedAddressAsJson(address) const jsonObj = d.walletSectionSavedAddressesInst.getSavedAddressAsJson(address)
try { try {
return JSON.parse(jsonObj) return JSON.parse(jsonObj)