Skip to content

Commit

Permalink
Correções no layout das conexões.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Mar 16, 2022
1 parent a40e6c3 commit dd1a9ba
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions frontend/src/pages/Connections/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,14 +344,17 @@ const Connections = () => {
<TableHead>
<TableRow>
<TableCell align="center">
{i18n.t("connections.table.name")}
{i18n.t("connections.table.id")}
</TableCell>
<TableCell align="center">
{i18n.t("connections.table.status")}
{i18n.t("connections.table.name")}
</TableCell>
<TableCell align="center">
{i18n.t("connections.table.battery")}
</TableCell>
<TableCell align="center">
{i18n.t("connections.table.status")}
</TableCell>
<TableCell align="center">
{i18n.t("connections.table.session")}
</TableCell>
Expand All @@ -374,14 +377,12 @@ const Connections = () => {
{whatsApps?.length > 0 &&
whatsApps.map(whatsApp => (
<TableRow key={whatsApp.id}>
<TableCell align="center">{whatsApp.name}</TableCell>
<TableCell align="center">
{whatsApp.isDefault && (
<div className={classes.customTableCell}>
<CheckCircle style={{ color: green[500] }} />
</div>
)}
</TableCell>
{whatsApp.whatsAppId}
</TableCell>
<TableCell align="center">
{whatsApp.name}
</TableCell>
<TableCell align="center">
{renderStatusBattery(whatsApp)}
</TableCell>
Expand Down

0 comments on commit dd1a9ba

Please sign in to comment.