Refactor boardlist loading process
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
committed by
Julius Härtl
parent
35fc02734f
commit
f533f2bd80
@@ -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()
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user