From d49c1603daaf438eeb5377c23112d593a2381a74 Mon Sep 17 00:00:00 2001 From: brendan colloran Date: Thu, 14 Dec 2023 10:34:11 -0800 Subject: [PATCH] change default return value to `false` --- .../src/features/entity-management/resource-status-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-common/src/features/entity-management/resource-status-utils.ts b/web-common/src/features/entity-management/resource-status-utils.ts index 3dd75f02262..50a3c3bb23f 100644 --- a/web-common/src/features/entity-management/resource-status-utils.ts +++ b/web-common/src/features/entity-management/resource-status-utils.ts @@ -108,9 +108,9 @@ export function resourceStatusStore( const changed = !lastUpdatedOn || - (res.data?.meta?.stateUpdatedOn + (res.data?.meta?.stateUpdatedOn !== undefined ? res.data?.meta?.stateUpdatedOn > lastUpdatedOn - : undefined); + : false); return { status: !res.data?.meta?.reconcileError