removed new buttom from cross-search-view

This commit is contained in:
Eero Antikainen
2024-09-18 12:38:40 +03:00
parent 2983914125
commit f0f9fce4c5
@@ -165,7 +165,7 @@ export const TableView = <T extends MRT_RowData>({
<Typography sx={{ margin: '0.4rem' }} variant="h4">
{title ?? ''}
</Typography>
{editRights.new && (
{editRights.new && title != 'Locality-Species-Cross-Search' && (
<Button sx={{ marginRight: '1rem', marginLeft: '1rem' }} variant="contained" component={Link} to="new">
New
</Button>