1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Bind ErrorQueueStore to ErrorQueueActions

This commit is contained in:
Brett Sun 2015-11-29 16:57:29 +01:00
parent 0d6b3710f7
commit 9b54a75e27

View File

@ -30,6 +30,7 @@ class ErrorQueueStore {
this.exportPublicMethods({
getNextError: this.getNextError
});
this.bindActions(ErrorQueueActions);
}
getNextError(type) {
@ -40,7 +41,7 @@ class ErrorQueueStore {
return queue[index];
}
onShiftQueue(type) {
onShiftErrorQueue(type) {
const errorQueue = this.errorQueues[type];
const { queue, loop } = errorQueue;