Skip to content

Commit 2c72452

Browse files
authored
💄 style: fix provider disabled title style (lobehub#3743)
1 parent 6790334 commit 2c72452

File tree

1 file changed

+2
-2
lines changed
  • src/app/(main)/settings/llm/components/ProviderConfig

1 file changed

+2
-2
lines changed

src/app/(main)/settings/llm/components/ProviderConfig/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const ProviderConfig = memo<ProviderConfigProps>(
266266
) : undefined}
267267
</Flexbox>
268268
),
269-
title: title ?? (
269+
title: (
270270
<Flexbox
271271
align={'center'}
272272
className={styles.safariIconWidthFix}
@@ -277,7 +277,7 @@ const ProviderConfig = memo<ProviderConfigProps>(
277277
...(enabled ? {} : { filter: 'grayscale(100%)', maxHeight: 24, opacity: 0.66 }),
278278
}}
279279
>
280-
<ProviderCombine provider={id} size={24} />
280+
{title ?? <ProviderCombine provider={id} size={24} />}
281281
</Flexbox>
282282
),
283283
};

0 commit comments

Comments
 (0)