Sfoglia il codice sorgente

fix: plugin update redcorner mark display incorrect (#20636)

tags/1.4.2
非法操作 4 mesi fa
parent
commit
244687c9a7
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      web/app/components/plugins/plugin-item/index.tsx

+ 1
- 1
web/app/components/plugins/plugin-item/index.tsx Vedi File

@@ -108,7 +108,7 @@ const PluginItem: FC<Props> = ({
}><RiErrorWarningLine color='red' className="ml-0.5 h-4 w-4 shrink-0 text-text-accent" /></Tooltip>}
<Badge className='ml-1 shrink-0'
text={source === PluginSource.github ? plugin.meta!.version : plugin.version}
hasRedCornerMark={(source === PluginSource.marketplace) && !!plugin.latest_unique_identifier && plugin.latest_unique_identifier !== plugin_unique_identifier}
hasRedCornerMark={(source === PluginSource.marketplace) && !!plugin.latest_version && plugin.latest_version !== plugin.version}
/>
</div>
<div className='flex items-center justify-between'>

Loading…
Annulla
Salva