Fix wallet logs delete for single wallet (#1684)
This commit is contained in:
parent
713227b255
commit
e55af28763
|
@ -142,7 +142,7 @@ export function useWalletLogManager (setLogs) {
|
||||||
if ((!wallet || wallet.def.walletType) && !options?.clientOnly) {
|
if ((!wallet || wallet.def.walletType) && !options?.clientOnly) {
|
||||||
await deleteServerWalletLogs({ variables: { wallet: wallet?.def.walletType } })
|
await deleteServerWalletLogs({ variables: { wallet: wallet?.def.walletType } })
|
||||||
}
|
}
|
||||||
if (!wallet || wallet.sendPayment) {
|
if (!wallet || wallet.def.sendPayment) {
|
||||||
try {
|
try {
|
||||||
const tag = wallet ? walletTag(wallet.def) : null
|
const tag = wallet ? walletTag(wallet.def) : null
|
||||||
if (notSupported) {
|
if (notSupported) {
|
||||||
|
|
Loading…
Reference in New Issue