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 */} -
- -
- - - +
+ +
+ + + + +