mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 03:05:53 +08:00
(ui): Update queue state when fetching aggregating tasks
This commit is contained in:
parent
0a6150e935
commit
9de7f054bc
@ -66,6 +66,7 @@ import {
|
|||||||
DELETE_AGGREGATING_TASK_SUCCESS,
|
DELETE_AGGREGATING_TASK_SUCCESS,
|
||||||
RUN_AGGREGATING_TASK_SUCCESS,
|
RUN_AGGREGATING_TASK_SUCCESS,
|
||||||
ARCHIVE_AGGREGATING_TASK_SUCCESS,
|
ARCHIVE_AGGREGATING_TASK_SUCCESS,
|
||||||
|
LIST_AGGREGATING_TASKS_SUCCESS,
|
||||||
} from "../actions/tasksActions";
|
} from "../actions/tasksActions";
|
||||||
import { Queue } from "../api";
|
import { Queue } from "../api";
|
||||||
|
|
||||||
@ -175,6 +176,7 @@ function queuesReducer(
|
|||||||
|
|
||||||
case LIST_ACTIVE_TASKS_SUCCESS:
|
case LIST_ACTIVE_TASKS_SUCCESS:
|
||||||
case LIST_PENDING_TASKS_SUCCESS:
|
case LIST_PENDING_TASKS_SUCCESS:
|
||||||
|
case LIST_AGGREGATING_TASKS_SUCCESS:
|
||||||
case LIST_SCHEDULED_TASKS_SUCCESS:
|
case LIST_SCHEDULED_TASKS_SUCCESS:
|
||||||
case LIST_RETRY_TASKS_SUCCESS:
|
case LIST_RETRY_TASKS_SUCCESS:
|
||||||
case LIST_ARCHIVED_TASKS_SUCCESS: {
|
case LIST_ARCHIVED_TASKS_SUCCESS: {
|
||||||
|
Loading…
Reference in New Issue
Block a user