|
|
@@ -129,9 +129,9 @@ const PublicNotice = () => { |
|
|
|
|
|
|
|
{ |
|
|
|
JSON.parse(localStorage.getItem('userData')).creditor ? ( |
|
|
|
<Grid item xs={12} sm={12} md={12} lg={12} sx={{ minHeight: '75vh', maxWidth: '1%',width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> |
|
|
|
<Grid item xs={12} sm={12} md={12} lg={12} sx={{ height:'100%', maxWidth: '1%',width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> |
|
|
|
<TabContext value={selectedTab}> |
|
|
|
<Box sx={{ borderBottom: 1, borderColor: 'divider', overflowX: 'auto', }}> |
|
|
|
<Box sx={{ borderBottom: 1, borderColor: 'divider', overflowX: 'auto', overflowY:'auto' }}> |
|
|
|
<TabList onChange={handleChange} aria-label="lab API tabs example" sx={{ display: 'flex', flexDirection: 'row' }}> |
|
|
|
<Tab label={intl.formatMessage({id: 'processing'}) + " (" + submittedList?.length + ")"} value="1" /> |
|
|
|
<Tab label={intl.formatMessage({id: 'pendingPublish'}) + " (" + pendingPublishList?.length + ")"} value="3" /> |
|
|
@@ -166,7 +166,7 @@ const PublicNotice = () => { |
|
|
|
</TabContext> |
|
|
|
</Grid> |
|
|
|
) : ( |
|
|
|
<Grid item xs={12} sx={{ minHeight: '75vh', maxWidth: '95%', width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> |
|
|
|
<Grid item xs={12} sx={{ minHeight: '80vh',height:"100%", maxHeight:'300vh', maxWidth: '95%', width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> |
|
|
|
<TabContext value={selectedTab}> |
|
|
|
<Box sx={{ borderBottom: 1, borderColor: 'divider' }}> |
|
|
|
<TabList onChange={handleChange} aria-label="lab API tabs example"> |
|
|
|