[dashboard] Deployment History tab incorrectly formats warning status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Undecided
|
Felipe Monteiro |
Bug Description
The "Deployment History" tab in environment details page shows a red underline underneath any Status. Inspecting the Status reveals that "warning" is always placed in the class list for the Status table cell. However, the "warning" class (and hence red underline) should only be shown for warning/error statuses.
Steps to reproduce:
1. Make an environment.
2. Deploy environment (make sure it succeeds).
3. Go to environment detail page.
4. Click on Deployment History tab.
Expected result:
The latest deployment should be "Successful" and no red underline should appear inside its table cell.
Observed result:
The latest deployment should be "Successful" but red underline is present in table cell.
See screenshot.