Fix linting

This commit is contained in:
yangdx
2025-04-05 06:18:59 +08:00
parent a752a58b88
commit 9969bf102d

View File

@@ -63,9 +63,9 @@ const GraphLabels = () => {
// 2. Current label is not the default '*'
// 3. Current label doesn't exist in allDatabaseLabels
if (
allDatabaseLabels.length > 1 &&
label &&
label !== '*' &&
allDatabaseLabels.length > 1 &&
label &&
label !== '*' &&
!allDatabaseLabels.includes(label)
) {
console.log(`Label "${label}" not found in available labels, resetting to default`);