mirror of
https://github.com/Infisical/infisical.git
synced 2025-04-02 14:38:48 +00:00
Merge pull request #2198 from Infisical/maidul-dwdqwdfwef
Lint fixes to unblock prod pipeline
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { useRouter } from 'next/router';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useEffect, useState } from "react";
|
||||
import { useRouter } from "next/router";
|
||||
|
||||
import { Tab, TabList, TabPanel, Tabs } from "@app/components/v2";
|
||||
import { OrgPermissionActions, OrgPermissionSubjects } from "@app/context";
|
||||
import { withPermission } from "@app/hoc";
|
||||
import { isTabSection, TabSections } from "@app/views/Org/Types";;
|
||||
import { isTabSection, TabSections } from "@app/views/Org/Types";
|
||||
|
||||
import { OrgIdentityTab, OrgMembersTab, OrgRoleTabSection } from "./components";
|
||||
|
||||
|
@ -9,7 +9,7 @@ import { useWorkspace } from "@app/context";
|
||||
import { ProjectMembershipRole } from "@app/hooks/api/roles/types";
|
||||
import { TWorkspaceUser } from "@app/hooks/api/types";
|
||||
import { UsePopUpState } from "@app/hooks/usePopUp";
|
||||
import { TabSections } from "@app/views/Org/Types";;
|
||||
import { TabSections } from "@app/views/Org/Types";
|
||||
|
||||
type Props = {
|
||||
membership: TWorkspaceUser;
|
||||
|
@ -1,13 +1,13 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import { useRouter } from 'next/router';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { useEffect, useState } from "react";
|
||||
import { useRouter } from "next/router";
|
||||
|
||||
import { Tab, TabList, TabPanel, Tabs } from "@app/components/v2";
|
||||
import { ProjectPermissionActions, ProjectPermissionSub } from "@app/context";
|
||||
import { withProjectPermission } from "@app/hoc";
|
||||
|
||||
import { isTabSection,TabSections } from "../Types";
|
||||
import { IdentityTab, MembersTab,ProjectRoleListTab, ServiceTokenTab } from "./components";
|
||||
import { TabSections, isTabSection } from '../Types';
|
||||
|
||||
|
||||
export const MembersPage = withProjectPermission(
|
||||
|
@ -20,8 +20,8 @@ import { withProjectPermission } from "@app/hoc";
|
||||
import { useDeleteProjectRole,useGetProjectRoleBySlug } from "@app/hooks/api";
|
||||
import { usePopUp } from "@app/hooks/usePopUp";
|
||||
|
||||
import { TabSections } from "../Types";
|
||||
import { RoleDetailsSection, RoleModal, RolePermissionsSection } from "./components";
|
||||
import { TabSections } from '../Types';
|
||||
|
||||
export const RolePage = withProjectPermission(
|
||||
() => {
|
||||
|
@ -72,11 +72,11 @@ export const SelectionPanel = ({
|
||||
const getDeleteModalTitle = () => {
|
||||
if (selectedFolderCount > 0 && selectedKeysCount > 0) {
|
||||
return "Do you want to delete the selected secrets and folders across environments?";
|
||||
} else if (selectedKeysCount > 0 && selectedFolderCount === 0) {
|
||||
return "Do you want to delete the selected secrets across environments?";
|
||||
} else {
|
||||
return "Do you want to delete the selected folders across environments?";
|
||||
}
|
||||
if (selectedKeysCount > 0) {
|
||||
return "Do you want to delete the selected secrets across environments?";
|
||||
}
|
||||
return "Do you want to delete the selected folders across environments?";
|
||||
}
|
||||
|
||||
const handleBulkDelete = async () => {
|
||||
|
Reference in New Issue
Block a user