Refactor boardlist loading process

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2017-10-26 11:19:00 +02:00
committed by Julius Härtl
parent 35fc02734f
commit f533f2bd80
3 changed files with 78 additions and 42 deletions

View File

@@ -48,7 +48,11 @@ app.factory('StatusService', function () {
StatusService.prototype.releaseWaiting = function () {
if (this.counter > 0)
<<<<<<< HEAD
{this.counter--;}
=======
this.counter--;
>>>>>>> Refactor boardlist loading process
if (this.counter <= 0) {
this.active = false;
this.counter = 0;
@@ -70,7 +74,9 @@ app.factory('StatusService', function () {
return {
getInstance: function () {
return new StatusService();
}
},
/* Shared StatusService instance between both ListController instances */
listStatus: new StatusService()
};
});