mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 10:20:15 +01:00
📌 feat: Add Support for Persistable (Non-Dismissible) Banners (#10730)
* feat: Add persistable property to banners and update related components * refactor: Clean up Banner component and improve className handling
This commit is contained in:
parent
04a4a2aa44
commit
5b3cef6d86
5 changed files with 42 additions and 13 deletions
|
|
@ -1139,6 +1139,7 @@ export const tBannerSchema = z.object({
|
|||
createdAt: z.string(),
|
||||
updatedAt: z.string(),
|
||||
isPublic: z.boolean(),
|
||||
persistable: z.boolean().default(false),
|
||||
});
|
||||
export type TBanner = z.infer<typeof tBannerSchema>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue