chore: updated user permission for project and workspace settings (#1807)

* fix: updated user permission for project and workspace settings

* chore: workspace delete modal fix
This commit is contained in:
Anmol Singh Bhatia 2023-08-11 18:29:24 +05:30 committed by GitHub
parent 7becec4ee9
commit ac6d2b0139
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 71 additions and 45 deletions

View file

@ -50,8 +50,10 @@ export const DeleteWorkspaceModal: React.FC<Props> = ({ isOpen, data, onClose, u
const canDelete = confirmWorkspaceName === data?.name && confirmDeleteMyWorkspace;
const handleClose = () => {
onClose();
setIsDeleteLoading(false);
setConfirmWorkspaceName("");
setConfirmDeleteMyWorkspace(false);
onClose();
};
const handleDeletion = async () => {