We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f0734 commit 42a6677Copy full SHA for 42a6677
src/components/FullPlayground.tsx
@@ -824,7 +824,8 @@ export function ThemedAppView(props: { datastore: DataStore }) {
824
</div>
825
)}
826
827
- {currentItem?.kind &&
+ {/* NOTE: the kind here is an enum, so 0 will render. */}
828
+ {currentItem?.kind !== undefined &&
829
[DataStoreItemKind.ASSERTIONS, DataStoreItemKind.EXPECTED_RELATIONS].includes(
830
currentItem.kind,
831
) && (
@@ -834,7 +835,7 @@ export function ThemedAppView(props: { datastore: DataStore }) {
834
835
conductValidation={conductValidation}
836
developerService={developerService}
837
/>
- )}
838
+ )}
839
840
{currentItem?.kind === DataStoreItemKind.EXPECTED_RELATIONS &&
841
previousValidationForDiff === undefined && (
0 commit comments