Skip to content

Commit 89adbce

Browse files
authored
fix(crud): don't fallback to zero if the count cannot be determined (#6557)
don't fallback to zero if the count cannot be determined
1 parent b5eb8c0 commit 89adbce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-crud/src/stores/crud-store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ class CrudStoreImpl
18961896
affected !== 1 ? 's' : ''
18971897
}`,
18981898
description: `This action can not be undone. This will permanently delete ${
1899-
affected || 0
1899+
affected ?? 'an unknown number of'
19001900
} document${affected !== 1 ? 's' : ''}.`,
19011901
variant: 'danger',
19021902
});

0 commit comments

Comments
 (0)