mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
fix: update button variant in FolderWatchDialog and refine metadata type in folder.types
This commit is contained in:
parent
6f9f69c3e8
commit
5eada7bcab
2 changed files with 2 additions and 2 deletions
|
|
@ -228,7 +228,7 @@ export function FolderWatchDialog({
|
|||
<div className="flex gap-2">
|
||||
{submitting ? (
|
||||
<>
|
||||
<Button variant="outline" className="flex-1" onClick={handleCancel}>
|
||||
<Button variant="secondary" className="flex-1" onClick={handleCancel}>
|
||||
Cancel
|
||||
</Button>
|
||||
<Button className="flex-1 relative" disabled>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ export const folder = z.object({
|
|||
created_by_id: z.string().nullable().optional(),
|
||||
created_at: z.string(),
|
||||
updated_at: z.string(),
|
||||
metadata: z.record(z.unknown()).nullable().optional(),
|
||||
metadata: z.record(z.string(), z.any()).nullable().optional(),
|
||||
});
|
||||
|
||||
export const folderCreateRequest = z.object({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue