Skip to content

Commit 79978b2

Browse files
authored
Merge pull request #495 from Lemoncode/fixaccessibilitybug/#485-8-Take-out-from-theader-edit-and-delete-button
#485 8. take out from theader edit and delete button
2 parents 58f1ed7 + 85e7673 commit 79978b2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/pods/canvas/components/canvas-accessible/components/collection-accessible.component.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,24 @@ export const CollectionAccessible: React.FC<Props> = props => {
2828
<>
2929
<h3 ref={collectionRefs.current[table.id]}>
3030
{table.tableName} collection
31-
{!isTabletOrMobileDevice ? (
32-
<>
31+
</h3>
32+
{!isTabletOrMobileDevice ? (
33+
<ul>
34+
<li>
3335
<button type="button" onClick={() => onEditTable(table)}>
3436
Edit {table.tableName} collection
3537
</button>
38+
</li>
39+
<li>
3640
<button
3741
type="button"
3842
onClick={() => onDeleteSelectedItem(table.id)}
3943
>
4044
Delete {table.tableName} collection
4145
</button>
42-
</>
43-
) : null}
44-
</h3>
46+
</li>
47+
</ul>
48+
) : null}
4549
<h4>Fields for {table.tableName} collection</h4>
4650
<FieldList fieldList={table.fields} listName={table.tableName} />
4751
<TableRelationsAccessible

0 commit comments

Comments
 (0)