Fix UI bug in OS settings modal on "My device" page (#19502)

This commit is contained in:
Sarah Gillespie 2024-06-12 13:49:58 -05:00 committed by GitHub
parent 60f7c3d03c
commit 3992d6f344
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,2 @@
- Fixed UI bug where error detail was overflowing the table in "OS settings" modal in "My device"
page UI.

View file

@ -138,7 +138,9 @@ const OSSettingsErrorCell = ({
// we dont want the default "w250" class so we pass in empty string
classes={""}
className={
showRefetchButton ? `${baseClass}__failed-message` : undefined
isFailed || showRefetchButton
? `${baseClass}__failed-message`
: undefined
}
/>
{showRefetchButton && (