mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 08:27:36 +00:00
Fix: Remove debugging logs
This commit is contained in:
@@ -105,12 +105,6 @@ export const useGetFoldersByEnv = ({
|
|||||||
if (selectedEnvIndex !== -1) {
|
if (selectedEnvIndex !== -1) {
|
||||||
const currentlyBrowsingPath = queryParams.get("secretPath") || "";
|
const currentlyBrowsingPath = queryParams.get("secretPath") || "";
|
||||||
|
|
||||||
if (env === "staging") {
|
|
||||||
console.log("selectedEnvIndex", selectedEnvIndex);
|
|
||||||
console.log(`name /${name}`);
|
|
||||||
console.log("importedFolders", folders?.[selectedEnvIndex]?.data?.importedFolders);
|
|
||||||
}
|
|
||||||
|
|
||||||
const isPresent = folders?.[selectedEnvIndex]?.data?.importedFolders.find(
|
const isPresent = folders?.[selectedEnvIndex]?.data?.importedFolders.find(
|
||||||
({ importPath }) => importPath === `${currentlyBrowsingPath}/${name}`
|
({ importPath }) => importPath === `${currentlyBrowsingPath}/${name}`
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user