Update components/assistant-ui/threadlist-sidebar.tsx
Browse files
components/assistant-ui/threadlist-sidebar.tsx
CHANGED
|
@@ -7,6 +7,7 @@ import * as React from "react";
|
|
| 7 |
import {
|
| 8 |
Sidebar,
|
| 9 |
SidebarContent,
|
|
|
|
| 10 |
SidebarHeader,
|
| 11 |
SidebarRail,
|
| 12 |
} from "@/components/ui/sidebar";
|
|
@@ -22,6 +23,14 @@ export function ThreadListSidebar({
|
|
| 22 |
<ThreadList />
|
| 23 |
</SidebarContent>
|
| 24 |
<SidebarRail />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
</Sidebar>
|
| 26 |
);
|
| 27 |
}
|
|
|
|
| 7 |
import {
|
| 8 |
Sidebar,
|
| 9 |
SidebarContent,
|
| 10 |
+
SidebarFooter, // کامپوننت فوتر را دوباره اضافه میکنیم
|
| 11 |
SidebarHeader,
|
| 12 |
SidebarRail,
|
| 13 |
} from "@/components/ui/sidebar";
|
|
|
|
| 23 |
<ThreadList />
|
| 24 |
</SidebarContent>
|
| 25 |
<SidebarRail />
|
| 26 |
+
|
| 27 |
+
{/* بخش جدید اضافه شده در اینجا */}
|
| 28 |
+
<SidebarFooter>
|
| 29 |
+
<p className="px-2 py-1 text-xs text-center text-muted-foreground">
|
| 30 |
+
سابقه گفتگو فقط در نسخه پلاس ذخیره میشود
|
| 31 |
+
</p>
|
| 32 |
+
</SidebarFooter>
|
| 33 |
+
|
| 34 |
</Sidebar>
|
| 35 |
);
|
| 36 |
}
|