Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Incorrect error message for invalid QR code #7588

Merged
merged 12 commits into from
Aug 1, 2024
5 changes: 5 additions & 0 deletions src/Components/Assets/AssetsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@ const AssetsList = () => {
}
} catch (err) {
console.log(err);
Notification.Error({
msg: t("invalid_asset_id_msg"),
});
} finally {
setIsLoading(false);
}
};

Expand Down
3 changes: 2 additions & 1 deletion src/Locale/en/Notifications.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"unsubscribe_failed": "Unsubscribe failed.",
"unsubscribe": "Unsubscribe",
"escape": "Escape",
"loading": "Loading..."
"loading": "Loading...",
"invalid_asset_id_msg": "Oops! The asset ID you entered does not appear to be valid."
}
Loading