Skip to content

Commit

Permalink
improved login button
Browse files Browse the repository at this point in the history
  • Loading branch information
johndavedecano committed Sep 15, 2018
1 parent 817cc0f commit 22a55e9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions resources/apps/frontend/src/pages/dashboard/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ class Dashboard extends Component {
type: 'error',
text: getErrorMessage(err),
});

this.setState({isSubmitting: false});
}
};

Expand Down Expand Up @@ -108,14 +110,14 @@ class Dashboard extends Component {
/>
</Col>
</Row>
<Row>
<Row className="mb-4">
<Col md={6}>
<Card>
<CardHeader>Latest Activities</CardHeader>
<CardBody>
<Activities
ref={activities => (this.activities = activities)}
limit={10}
limit={11}
/>
</CardBody>
</Card>
Expand Down Expand Up @@ -149,7 +151,7 @@ class Dashboard extends Component {
color="primary"
disabled={this.state.isSubmitting}
>
{this.state.isSubmitting ? 'Please Wait...' : 'Submit'}
{this.state.isSubmitting ? '......' : 'Submit'}
</Button>
</Col>
</Row>
Expand Down

0 comments on commit 22a55e9

Please sign in to comment.