diff --git a/src/renderer/components/Plugins/PluginCard.tsx b/src/renderer/components/Plugins/PluginCard.tsx index 905c56103b832d8e7b758a1de553fb4ee09a5bd6..7abdfb3592bb8c35c5d7ac737aac2b53be2a17a7 100644 --- a/src/renderer/components/Plugins/PluginCard.tsx +++ b/src/renderer/components/Plugins/PluginCard.tsx @@ -57,14 +57,17 @@ export default function PluginCard({ </Typography> <Typography level="body-md" fontSize="sm" sx={{ mt: 0.5, mb: 0.5 }}> {plugin.uniqueId} - {plugin?.gallery_version && - (plugin?.version != plugin?.gallery_version ? ( + {plugin?.gallery_version ? ( + plugin?.version != plugin?.gallery_version ? ( <Chip color="danger">v{plugin.version} Needs Upgrade</Chip> ) : ( <> <Chip color="success">v{plugin.version}</Chip> </> - ))} + ) + ) : ( + <Chip color="warning">v{plugin.version}</Chip> + )} </Typography> <Typography level="title-sm" fontSize="sm" sx={{ mt: 0.5, mb: 0.5 }}> <b>