Skip to content

Commit

Permalink
fix(web): add details button in list team in organization details page
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelVallenet committed Apr 11, 2023
1 parent 8b5cfad commit 3ee85a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions web/src/components/organization/AllTeamsOnOrganization.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from "react";
import { Card, Table } from "tabler-react";
import {Button, Card, Table} from "tabler-react";

// import styles from "./style.module.css";
import { FormattedMessage } from "react-intl";
import {Link} from "gatsby";
import {Link, navigate} from "gatsby";
import {useTheme} from "emotion-theming";

const TeamsOnOrganizationRow = ({ teams }) => {
Expand All @@ -30,7 +30,7 @@ const TeamsOnOrganizationRow = ({ teams }) => {
{item.score}
</Table.Col>
<Table.Col alignContent="center">
${item.cash}
<Button color="primary" className="mx-lg-auto" onClick={() => navigate("/team/" + item.id)}>See Details</Button>
</Table.Col>
</Table.Row>
);
Expand Down Expand Up @@ -58,7 +58,7 @@ const TeamsOnOrganizationList = ({ teams, limit }) => {
<FormattedMessage id="AllTeamsOnOrganization.score" />
</Table.ColHeader>
<Table.ColHeader alignContent="center">
<FormattedMessage id="AllTeamsOnOrganization.cash" />
<FormattedMessage id="UserOrganizationsList.details" />
</Table.ColHeader>
</Table.Row>
</Table.Header>
Expand Down

0 comments on commit 3ee85a7

Please sign in to comment.