Skip to content

Commit

Permalink
canvas accessibility removed header buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
deletidev committed May 23, 2024
1 parent e79f76b commit 85e7673
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,24 @@ export const CollectionAccessible: React.FC<Props> = props => {
<>
<h3 ref={collectionRefs.current[table.id]}>
{table.tableName} collection
{!isTabletOrMobileDevice ? (
<>
</h3>
{!isTabletOrMobileDevice ? (
<ul>
<li>
<button type="button" onClick={() => onEditTable(table)}>
Edit {table.tableName} collection
</button>
</li>
<li>
<button
type="button"
onClick={() => onDeleteSelectedItem(table.id)}
>
Delete {table.tableName} collection
</button>
</>
) : null}
</h3>
</li>
</ul>
) : null}
<h4>Fields for {table.tableName} collection</h4>
<FieldList fieldList={table.fields} listName={table.tableName} />
<TableRelationsAccessible
Expand Down

0 comments on commit 85e7673

Please sign in to comment.