aws / aws-parallelcluster-ui

Apache License 2.0
31 stars 20 forks source link

[Bugfix] Convert status to string in formatStatus before calling replaceAll to prevent errors in JobStatus panel blocking the whole interface. #333

Closed gmarciani closed 4 months ago

gmarciani commented 4 months ago

Description

Convert status to string in formatStatus before calling replaceAll to prevent errors in JobStatus panel blocking the whole interface.

How Has This Been Tested?

Verified that with this change, the JobStatus panel is rendered and does not block the interface with the error message.

PR Quality Checklist

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.