mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-16 14:57:15 +00:00
fix(bots): add icon to processor compatibility warning
This commit is contained in:
@@ -82,14 +82,20 @@ function ProcessorEvents({
|
||||
{incomplete && (
|
||||
<span
|
||||
role="status"
|
||||
className="mt-2 block whitespace-normal text-amber-700 dark:text-amber-400"
|
||||
className="mt-2 flex items-start gap-1.5 whitespace-normal text-amber-700 dark:text-amber-400"
|
||||
>
|
||||
{t('bots.pluginSubscriptions.incompleteEvents', {
|
||||
events:
|
||||
matchingEvents
|
||||
.map((pattern) => eventPatternLabel(pattern, t))
|
||||
.join(' · ') || t('common.none'),
|
||||
})}
|
||||
<TriangleAlert
|
||||
className="mt-0.5 size-3.5 shrink-0"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<span>
|
||||
{t('bots.pluginSubscriptions.incompleteEvents', {
|
||||
events:
|
||||
matchingEvents
|
||||
.map((pattern) => eventPatternLabel(pattern, t))
|
||||
.join(' · ') || t('common.none'),
|
||||
})}
|
||||
</span>
|
||||
</span>
|
||||
)}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user