feat: add Empty component to installed plugin list

This commit is contained in:
twwu
2024-11-05 11:05:14 +08:00
parent ebebbb684b
commit 16dee11589
9 changed files with 192 additions and 48 deletions

View File

@ -67,7 +67,9 @@ const TabSlider: FC<TabSliderProps> = ({
}}
>
{option.text}
{/* if no plugin installed, the badge won't show */}
{option.value === 'plugins'
&& pluginList.length > 0
&& <Badge
size='s'
uppercase={true}