-
Notifications
You must be signed in to change notification settings - Fork 23
How to use with boolean?Β #15
Description
With Angular2-Busy I could start and stop the busy indicator with a boolean.
When I try that with ng-busy I get the following error:
ERROR TypeError: busy.add is not a function
at BusyTrackerService.push../node_modules/ng-busy/fesm5/ng-busy.js.BusyTrackerService.appendToQueue (ng-busy.js:233)
at ng-busy.js:219
at Array.forEach ()
at BusyTrackerService.push../node_modules/ng-busy/fesm5/ng-busy.js.BusyTrackerService.loadBusyQueue (ng-busy.js:207)
at BusyTrackerService.push../node_modules/ng-busy/fesm5/ng-busy.js.BusyTrackerService.load (ng-busy.js:156)
at NgBusyDirective.push../node_modules/ng-busy/fesm5/ng-busy.js.NgBusyDirective.ngDoCheck (ng-busy.js:408)
at checkAndUpdateDirectiveInline (core.js:18671)
at checkAndUpdateNodeInline (core.js:19932)
at checkAndUpdateNode (core.js:19894)
at debugCheckAndUpdateNode (core.js:20528)