Fix wallet logs delete for single wallet (#1684)

This commit is contained in:
ekzyis 2024-12-05 15:10:29 +01:00 committed by GitHub
parent 713227b255
commit e55af28763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ export function useWalletLogManager (setLogs) {
if ((!wallet || wallet.def.walletType) && !options?.clientOnly) {
await deleteServerWalletLogs({ variables: { wallet: wallet?.def.walletType } })
}
if (!wallet || wallet.sendPayment) {
if (!wallet || wallet.def.sendPayment) {
try {
const tag = wallet ? walletTag(wallet.def) : null
if (notSupported) {