From 149859b34685e0be61b805cf4182ffa32d45bae2 Mon Sep 17 00:00:00 2001 From: "alexandria.gomez" Date: Thu, 12 Dec 2024 11:39:08 -0500 Subject: [PATCH] disable button if record series --- .../components/RepositoryViewWebPart.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/webparts/LaserficheRepositoryAccessWebPart/components/RepositoryViewWebPart.tsx b/src/webparts/LaserficheRepositoryAccessWebPart/components/RepositoryViewWebPart.tsx index baf20e3..4b68fe0 100644 --- a/src/webparts/LaserficheRepositoryAccessWebPart/components/RepositoryViewWebPart.tsx +++ b/src/webparts/LaserficheRepositoryAccessWebPart/components/RepositoryViewWebPart.tsx @@ -237,6 +237,8 @@ export default function RepositoryViewComponent(props: { ); } +const CANNOT_IMPORT_INTO_RECORD_SERIES = 'Cannot import into a Record Series'; +const UPLOAD_FILE_TO_LASERFICHE = 'Upload file to Laserfiche'; function RepositoryBrowserToolbar(props: { repoClient: IRepositoryApiClientExInternal; webClientUrl: string; @@ -301,7 +303,8 @@ function RepositoryBrowserToolbar(props: {