Skip to content

ViSR: RunPlan button loading does not reset after a bad response #36

@EmsArnold

Description

@EmsArnold

Before and after submitAndRunTask(taskRequest), the loading state of the button should be set:

...
        setLoading(true);
        await submitAndRunTask(taskRequest);
        setLoading(false);
...

Recent experiences with further downstream services being broken has created a situation where the response returned is 500 after a timeout period. After the response has been returned, the loading state should again be set to false but currently is not.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions