From cd32f743ceb2961ba1674d546e5b6c9e00bb2591 Mon Sep 17 00:00:00 2001 From: pramod mahajan Date: Tue, 2 Sep 2025 16:39:44 +0530 Subject: [PATCH] changed segment button radio --- .../Documents/DocumentFilterPanel.jsx | 88 ++++++++++++------- 1 file changed, 55 insertions(+), 33 deletions(-) diff --git a/src/components/Documents/DocumentFilterPanel.jsx b/src/components/Documents/DocumentFilterPanel.jsx index 02cb1cff..830648a7 100644 --- a/src/components/Documents/DocumentFilterPanel.jsx +++ b/src/components/Documents/DocumentFilterPanel.jsx @@ -53,10 +53,15 @@ const DocumentFilterPanel = ({ entityTypeId, onApply }) => { }; if (isLoading) return
Loading...
; - if (isError) return
Error: {error?.message || "Something went wrong!"}
; + if (isError) + return
Error: {error?.message || "Something went wrong!"}
; - const { uploadedBy = [], documentCategory = [], documentType = [], documentTag = [] } = - data?.data || {}; + const { + uploadedBy = [], + documentCategory = [], + documentType = [], + documentTag = [], + } = data?.data || {}; return ( @@ -129,36 +134,53 @@ const DocumentFilterPanel = ({ entityTypeId, onApply }) => { {/* Status Filter */} -
- -
- - - +
+ +
+ + + + +