mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-18 11:44:18 +00:00
fix: hide normal storage section status badge
This commit is contained in:
@@ -255,14 +255,13 @@ export default function StorageAnalysisDialog({
|
||||
{section.path || '-'}
|
||||
</div>
|
||||
</div>
|
||||
<Badge
|
||||
variant={section.exists ? 'secondary' : 'outline'}
|
||||
className="self-center"
|
||||
>
|
||||
{section.exists
|
||||
? t('storageAnalysis.exists')
|
||||
: t('storageAnalysis.missing')}
|
||||
</Badge>
|
||||
{section.exists ? (
|
||||
<span />
|
||||
) : (
|
||||
<Badge variant="outline" className="self-center">
|
||||
{t('storageAnalysis.missing')}
|
||||
</Badge>
|
||||
)}
|
||||
<div className="self-center tabular-nums">
|
||||
{formatBytes(section.size_bytes)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user