Skip to content

Commit

Permalink
remove dialog and instead display the empty table
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk committed Mar 5, 2024
1 parent 5f40dc3 commit 85b62c8
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions src/pages/TeamMembers/TeamMembers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,11 @@ const TeamMembers = () => {
]}
/>
<Divider dark />
{teamMembersTableData.length > 0 ? (
<Table
title={teamMembersTableTitle}
columns={teamMembersTableHeaderColumns}
data={teamMembersTableData as TableData['data']}
/>
) : (
<Dialog type='warning' title='No team members found'>
You are not a manager in any dapla-team
</Dialog>
)}
<Table
title={teamMembersTableTitle}
columns={teamMembersTableHeaderColumns}
data={teamMembersTableData as TableData['data']}
/>
</>
)
}
Expand Down

0 comments on commit 85b62c8

Please sign in to comment.