Fix: The chat settings are not displayed correctly on the first page load. (#13855)

### What problem does this PR solve?
Fix: The chat settings are not displayed correctly on the first page
load.

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2026-03-30 20:16:52 +08:00
committed by GitHub
parent 620fe215a4
commit 3a4f0d1a83
2 changed files with 46 additions and 42 deletions

View File

@@ -7,11 +7,11 @@ import { ChevronRight } from 'lucide-react';
import React from 'react';
const treeVariants = cva(
'group hover:before:opacity-100 before:absolute before:rounded-lg before:left-0 px-2 before:w-full before:opacity-0 before:bg-accent/70 before:h-[2rem] before:-z-10',
'group hover:before:opacity-100 before:absolute before:rounded-lg before:left-0 px-2 before:w-full before:opacity-0 before:bg-accent/70 before:h-[2rem] before:-z-10 text-text-secondary',
);
const selectedTreeVariants = cva(
'before:opacity-100 before:bg-[#4E74Fd]/70 text-accent-foreground',
'before:opacity-100 before:bg-bg-card text-accent-foreground',
);
export interface TreeDataItem {
@@ -355,4 +355,4 @@ const TreeActions = ({
);
};
export { TreeView, type TreeDataItem };
export { TreeView };