mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 13:56:43 +00:00
feat: resolved invite failing and removed all unused things from frontend on previous upgrade
This commit is contained in:
+1
-8
@@ -74,19 +74,12 @@ export const AddMemberModal = ({ popUp, handlePopUpToggle }: Props) => {
|
||||
decryptKey: wsKey,
|
||||
members: [{ orgMembershipId, userPublicKey: orgUser.user.publicKey }]
|
||||
});
|
||||
} else if (currentWorkspace.version === ProjectVersion.V2) {
|
||||
} else {
|
||||
await addUserToWorkspaceNonE2EE({
|
||||
projectId: workspaceId,
|
||||
usernames: [orgUser.user.username],
|
||||
orgId
|
||||
});
|
||||
} else {
|
||||
createNotification({
|
||||
text: "Failed to add user to project, unknown project type",
|
||||
type: "error"
|
||||
});
|
||||
|
||||
return;
|
||||
}
|
||||
createNotification({
|
||||
text: "Successfully added user to the project",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
import { TabSections, isTabSection } from "./TabSections";
|
||||
import { isTabSection,TabSections } from "./TabSections";
|
||||
|
||||
export { TabSections, isTabSection };
|
||||
export { isTabSection,TabSections };
|
||||
|
||||
Reference in New Issue
Block a user