샤드시옌으로 쫙 수정
This commit is contained in:
@@ -324,10 +324,10 @@ export default function MultiDataSourceConfig({
|
||||
{(item.status || item.level) && (
|
||||
<div className={`rounded px-2 py-0.5 text-[10px] font-medium ${
|
||||
(item.status || item.level)?.includes('경보') || (item.status || item.level)?.includes('위험')
|
||||
? 'bg-red-100 text-red-700'
|
||||
? 'bg-destructive/10 text-destructive'
|
||||
: (item.status || item.level)?.includes('주의')
|
||||
? 'bg-orange-100 text-orange-700'
|
||||
: 'bg-blue-100 text-blue-700'
|
||||
? 'bg-warning/10 text-warning'
|
||||
: 'bg-primary/10 text-primary'
|
||||
}`}>
|
||||
{item.status || item.level}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user