fix(web): retain uncertainty for incomplete capture inventories (#513)
* fix(web): retain uncertainty for incomplete capture inventories Signed-off-by: Rudy Celekli <rudy@gradiahq.com> * test(web): keep incomplete capture cases in a focused suite Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com> --------- Signed-off-by: Rudy Celekli <rudy@gradiahq.com> Signed-off-by: RudyCelekli <47457359+rudycelekli@users.noreply.github.com>
This commit is contained in:
@@ -80,7 +80,9 @@ const compareDimension = (
|
||||
complete: boolean,
|
||||
reason: string,
|
||||
): Dimension => {
|
||||
const all = compareIdentities(before, after);
|
||||
const all = compareIdentities(before, after).filter(
|
||||
({ change }) => complete || change === "modified",
|
||||
);
|
||||
if (all.length > 0)
|
||||
return {
|
||||
status: "changed",
|
||||
|
||||
Reference in New Issue
Block a user