We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ae72f7 commit 0394eb3Copy full SHA for 0394eb3
packages/app/src/app/overmind/namespaces/editor/actions.ts
@@ -645,8 +645,9 @@ export const showEnvironmentVariablesNotification: AsyncAction = async ({
645
646
await actions.editor.fetchEnvironmentVariables();
647
648
- const emptyVarCount = Object.keys(sandbox.environmentVariables).filter(
649
- key => !sandbox.environmentVariables[key]
+ const environmentVariables = sandbox.environmentVariables!;
+ const emptyVarCount = Object.keys(environmentVariables).filter(
650
+ key => !environmentVariables[key]
651
).length;
652
if (emptyVarCount > 0) {
653
effects.notificationToast.add({
0 commit comments