From 72e007a68ca10228d399841a2b832e437371a9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosmin=20P=C3=A2rvulescu?= Date: Mon, 26 Feb 2024 16:25:22 +0200 Subject: [PATCH] Fix storage usage condition in ostrich component --- apps/console/app/routes/apps/$clientId/storage.ostrich.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/console/app/routes/apps/$clientId/storage.ostrich.tsx b/apps/console/app/routes/apps/$clientId/storage.ostrich.tsx index 7271d74a6..2d3614e75 100644 --- a/apps/console/app/routes/apps/$clientId/storage.ostrich.tsx +++ b/apps/console/app/routes/apps/$clientId/storage.ostrich.tsx @@ -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)) && (