#418 show selected version on notification banner (#426)

Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
Neil 2023-04-10 14:10:14 +08:00 committed by GitHub
parent b2126bc82e
commit a5ad1310e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@
const onClickCTA = async (version: string) => {
await onClick(version);
notificationStore.add({
message: `Package ${pkg.full_name} v${pkg.version} has been installed.`
message: `Package ${pkg.full_name} v${version || pkg.version} has been installed.`
});
};