mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-17 22:42:22 +08:00
follow @Ducz0r suggestions
This commit is contained in:
parent
d2c3827289
commit
3558e20454
3 changed files with 4 additions and 3 deletions
|
|
@ -67,7 +67,7 @@ export default class SettingsPage extends Component<*, State> {
|
|||
active={this.state.active === "2"}
|
||||
>
|
||||
<NavItem eventKey="2">
|
||||
<FormattedMessage id="settings_page.team" />
|
||||
<FormattedMessage id="settings_page.teams" />
|
||||
</NavItem>
|
||||
</LinkContainer>
|
||||
</Nav>
|
||||
|
|
|
|||
|
|
@ -6,9 +6,10 @@ import { Breadcrumb, Row, Col, Glyphicon, Well } from "react-bootstrap";
|
|||
import { LinkContainer } from "react-router-bootstrap";
|
||||
import { FormattedHTMLMessage, FormattedMessage } from "react-intl";
|
||||
import moment from "moment";
|
||||
import { formatBytes } from "../../../../services/helpers/units_converter_helper";
|
||||
import type { Match } from "react-router-dom";
|
||||
import type { Team } from "flow-typed";
|
||||
|
||||
import { formatBytes } from "../../../../services/helpers/units_converter_helper";
|
||||
import { getTeamDetails } from "../../../../services/api/teams_api";
|
||||
|
||||
import { SETTINGS_TEAMS_ROUTE } from "../../../../config/routes";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// @flow
|
||||
import type { NewTeam } from "flow-typed";
|
||||
import { axiosInstance } from "./config";
|
||||
import { TEAM_DETAILS_PATH, TEAMS_PATH } from "./endpoints";
|
||||
import type { NewTeam } from "flow-typed";
|
||||
|
||||
export const getTeamDetails = (teamID: string): Promise<*> => {
|
||||
const path = TEAM_DETAILS_PATH.replace(":team_id", teamID);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue