mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
Merge pull request #748 from nowcommunity/remove-contact-button-from-selecting-tables
Removed contact button from selecting tables
This commit is contained in:
@@ -209,9 +209,11 @@ export const TableView = <T extends MRT_RowData>({
|
||||
<Divider sx={{ marginTop: '1rem' }} />
|
||||
</>
|
||||
)}
|
||||
<Box sx={{ display: 'flex', gap: '0.4em', justifyContent: 'flex-end', margin: '0.5em', marginTop: '1em' }}>
|
||||
<ContactForm<T> buttonText="Contact" noContext={true} />
|
||||
</Box>
|
||||
{!selectorFn && (
|
||||
<Box sx={{ display: 'flex', gap: '0.4em', justifyContent: 'flex-end', margin: '0.5em', marginTop: '1em' }}>
|
||||
<ContactForm<T> buttonText="Contact" noContext={true} />
|
||||
</Box>
|
||||
)}
|
||||
{editRights.new && title != 'Locality-Species-Cross-Search' && (
|
||||
<Box sx={{ display: 'flex', gap: '0.4em', justifyContent: 'flex-end', margin: '0.5em', marginTop: '1em' }}>
|
||||
<Button variant="contained" component={Link} to="new">
|
||||
|
||||
Reference in New Issue
Block a user