Skip to content

Commit

Permalink
Fix storage usage condition in ostrich component
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosmin-Parvulescu committed Feb 28, 2024
1 parent dcb0bd9 commit 72e007a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/console/app/routes/apps/$clientId/storage.ostrich.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,9 @@ export default () => {
!appDetails.externalAppDataPackageDefinition.autoTopUp &&
appExternalStorageUsage &&
(appExternalStorageUsage.readUsage >=
0.9 * appExternalStorageUsage.readAvailable ||
Math.floor(0.9 * appExternalStorageUsage.readAvailable) ||
appExternalStorageUsage.writeUsage >=
0.9 * appExternalStorageUsage.writeAvailable) && (
Math.floor(0.9 * appExternalStorageUsage.writeAvailable)) && (
<div className="flex flex-row rounded p-4 gap-2 bg-orange-50 items-center">
<HiExclamationTriangle className="h-5 w-5 text-orange-400" />

Expand Down

0 comments on commit 72e007a

Please sign in to comment.