mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
refactor: update editable document types to include 'FILE' and enhance related logic across components for improved functionality
This commit is contained in:
parent
69b8eef5ce
commit
38b77dfb6b
4 changed files with 24 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ import {
|
|||
} from "@/components/ui/dropdown-menu";
|
||||
import type { Document } from "./types";
|
||||
|
||||
const EDITABLE_DOCUMENT_TYPES = ["NOTE"] as const;
|
||||
const EDITABLE_DOCUMENT_TYPES = ["FILE", "NOTE"] as const;
|
||||
|
||||
// SURFSENSE_DOCS are system-managed and cannot be deleted
|
||||
const NON_DELETABLE_DOCUMENT_TYPES = ["SURFSENSE_DOCS"] as const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue