Просмотр исходного кода

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

tags/1.4.2
非法操作 4 месяцев назад
Родитель
Сommit
244687c9a7
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      web/app/components/plugins/plugin-item/index.tsx

+ 1
- 1
web/app/components/plugins/plugin-item/index.tsx Просмотреть файл

@@ -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'>

Загрузка…
Отмена
Сохранить