Skip to content

Commit c2fac1c

Browse files
Copilothotlong
andcommitted
fix: use isSystemObject() helper for prefix display consistency
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent eee9dae commit c2fac1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/studio/src/components/app-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ export function AppSidebar({
512512
onClick={() => onSelectObject(itemName)}
513513
>
514514
<span className="truncate">
515-
{(itemName.startsWith(SYSTEM_FQN_PREFIX) || itemName.startsWith(SYSTEM_LEGACY_PREFIX)) && (
515+
{isSystemObject(item) && (
516516
<span className="text-muted-foreground font-mono text-xs">{SYSTEM_NAMESPACE}:</span>
517517
)}
518518
{itemLabel}

0 commit comments

Comments
 (0)