Standardize org members page styling

This commit is contained in:
Tuan Dang
2023-11-24 14:09:56 +07:00
parent c3d2b7d3fc
commit 41c41a647f
20 changed files with 884 additions and 641 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
export * from "./apiKeys";
export * from "./admin"
export * from "./apiKeys";
export * from "./auditLogs";
export * from "./auth";
export * from "./bots";
@@ -16,6 +16,7 @@ export * from "./secretImports";
export * from "./secretRotation";
export * from "./secrets";
export * from "./secretSnapshots";
export * from "./serverDetails";
export * from "./serviceTokens";
export * from "./ssoConfig";
export * from "./subscriptions";
@@ -98,6 +98,7 @@ const fetchUserWorkspaceMemberships = async (orgId: string) => {
const { data } = await apiRequest.get<Record<string, Workspace[]>>(
`/api/v1/organization/${orgId}/workspace-memberships`
);
return data;
};
@@ -385,6 +386,8 @@ export const useAddServiceToWorkspace = () => {
});
};
// TODO: update
export const useDeleteServiceFromWorkspace = () => {
const queryClient = useQueryClient();
return useMutation({