Revert "fix: add project slug param for moving secrets on dashboard overview and environment view"

This reverts commit 64cd858f9c.
This commit is contained in:
=
2025-09-18 20:25:33 +05:30
parent 05f17ed2ec
commit fa230a667c
4 changed files with 6 additions and 7 deletions
@@ -66,7 +66,6 @@ const Content = ({
secrets,
environments,
projectId,
projectSlug,
sourceSecretPath
}: ContentProps) => {
const [search, setSearch] = useState(sourceSecretPath);
@@ -195,7 +194,6 @@ const Content = ({
destinationEnvironment: environment.slug,
destinationSecretPath: value.secretPath,
projectId,
projectSlug,
secretIds: secretsToMove.map((sec) => sec.id)
});
@@ -72,7 +72,10 @@ import {
useMoveSecrets,
useUpdateSecretBatch
} from "@app/hooks/api";
import { dashboardKeys, fetchDashboardProjectSecretsByKeys } from "@app/hooks/api/dashboard/queries";
import {
dashboardKeys,
fetchDashboardProjectSecretsByKeys
} from "@app/hooks/api/dashboard/queries";
import { UsedBySecretSyncs } from "@app/hooks/api/dashboard/types";
import { secretApprovalRequestKeys } from "@app/hooks/api/secretApprovalRequest/queries";
import { PendingAction } from "@app/hooks/api/secretFolders/types";
@@ -346,7 +349,6 @@ export const ActionBar = ({
destinationEnvironment,
destinationSecretPath,
projectId,
projectSlug: currentProject.slug,
secretIds: secretsToMove.map((sec) => sec.id)
});