Skip to content

Commit

Permalink
No more manual students refresh button
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaVR committed Feb 17, 2019
1 parent 2c10c1b commit 5f8cd0e
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions src/components/planning/PlanningsPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Button, Calendar, Card, Col, List, notification, Popconfirm, Popover, Row, Spin, Tag, Tooltip } from "antd";
import { Button, Calendar, Card, Col, List, notification, Popconfirm, Popover, Row, Spin, Tag } from "antd";
import classNames from "classnames";
import moment from "moment";
import React from "react";
Expand Down Expand Up @@ -167,20 +167,7 @@ class PlanningsPage extends React.Component<PlanningsPageProps, IPlanningsPageSt

private renderStudentListHeader(): React.ReactNode {
return (
<Row type="flex" justify="space-between">
<Col>
<h2>In te plannen studenten</h2>
</Col>
<Col>
<Tooltip title="Vernieuw de lijst" placement="bottomRight">
<Button
icon="reload"
type="ghost"
onClick={this.handleReloadStudents}
/>
</Tooltip>
</Col>
</Row>
<h2>In te plannen studenten</h2>
);
}

Expand All @@ -202,11 +189,7 @@ class PlanningsPage extends React.Component<PlanningsPageProps, IPlanningsPageSt

private renderDepartmentsHeader(): React.ReactNode {
return (
<Row type="flex" justify="space-between">
<Col>
<h2>Afdelingen</h2>
</Col>
</Row>
<h2>Afdelingen</h2>
);
}

Expand Down

1 comment on commit 5f8cd0e

@BenjaVR
Copy link
Owner

@BenjaVR BenjaVR commented on 5f8cd0e Feb 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#58

Please sign in to comment.