From 7e45f58f76d14049f73bf49986647ac4317c71a3 Mon Sep 17 00:00:00 2001 From: Eric Bower Date: Wed, 15 May 2024 11:26:35 -0400 Subject: [PATCH] fix: random cleanup (#822) --- src/deploy/app/index.ts | 2 -- src/schema/factory.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/deploy/app/index.ts b/src/deploy/app/index.ts index 3a5719cd7..578025022 100644 --- a/src/deploy/app/index.ts +++ b/src/deploy/app/index.ts @@ -2,7 +2,6 @@ import { api, cacheMinTimer, thunks } from "@app/api"; import { call, select } from "@app/fx"; import { createSelector } from "@app/fx"; import { defaultEntity, extractIdFromLink } from "@app/hal"; -import { selectOrganizationSelectedId } from "@app/organizations"; import { WebState, schema } from "@app/schema"; import { findSourceById, selectSources } from "@app/source"; import type { @@ -139,7 +138,6 @@ export const selectFirstAppByEnvId = createSelector( export const selectAppsByOrgAsList = createSelector( selectAppsAsList, selectEnvironmentsByOrg, - selectOrganizationSelectedId, (apps, envs) => { return apps.filter((app) => { const env = findEnvById(envs, { id: app.environmentId }); diff --git a/src/schema/factory.ts b/src/schema/factory.ts index 15cbb45b6..98e45151d 100644 --- a/src/schema/factory.ts +++ b/src/schema/factory.ts @@ -72,7 +72,7 @@ export const defaultDeployApp = (a: Partial = {}): DeployApp => { createdAt: now, updatedAt: now, deploymentMethod: "", - status: "pending", + status: "unknown", environmentId: "", currentConfigurationId: "", currentDeploymentId: "",