Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Use one universal loading bar - Closes #328 #340

Merged
merged 4 commits into from
Jun 8, 2017

Conversation

slaweet
Copy link
Contributor

@slaweet slaweet commented Jun 7, 2017

Closes #328

@slaweet slaweet self-assigned this Jun 7, 2017
@slaweet slaweet requested a review from reyraa June 7, 2017 15:44
@@ -39,6 +39,7 @@ app.component('delegates', {
this.votedList = [];
this.unvoteList = [];
this.loading = true;
this.$scope.$emit('showLoadingBar');
Copy link
Contributor

Choose a reason for hiding this comment

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

repeating the same event emit and the manipulating a flag to manage the behaviour is not a good approach. but since it's temporary I'll approve it.

@slaweet slaweet merged commit b04079e into development Jun 8, 2017
@slaweet slaweet deleted the 328-unify-loading-bars branch June 8, 2017 13:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants