chore: eslint add sonar (#17989)

This commit is contained in:
Joel
2025-04-14 15:28:20 +08:00
committed by GitHub
parent 8f9cbe1c49
commit d80f4c7d3b
38 changed files with 157 additions and 180 deletions

View File

@@ -72,7 +72,7 @@ const Empty = () => {
<div className='flex w-full flex-col gap-y-1'>
{[
...(
(enable_marketplace && true)
(enable_marketplace)
? [{ icon: MagicBox, text: t('plugin.list.source.marketplace'), action: 'marketplace' }]
: []
),

View File

@@ -86,7 +86,7 @@ const InstallPluginDropdown = ({
<div className='w-full'>
{[
...(
(enable_marketplace && true)
(enable_marketplace)
? [{ icon: MagicBox, text: t('plugin.source.marketplace'), action: 'marketplace' }]
: []
),