1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 13:41:57 +02: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({ this.exportPublicMethods({
getNextError: this.getNextError getNextError: this.getNextError
}); });
this.bindActions(ErrorQueueActions);
} }
getNextError(type) { getNextError(type) {
@ -40,7 +41,7 @@ class ErrorQueueStore {
return queue[index]; return queue[index];
} }
onShiftQueue(type) { onShiftErrorQueue(type) {
const errorQueue = this.errorQueues[type]; const errorQueue = this.errorQueues[type];
const { queue, loop } = errorQueue; const { queue, loop } = errorQueue;