π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: profile picture modal close on remove functionality added and mutation fix (#4757)
Anmol Singh Bhatia778fca9db61a
diff --git a/web/app/profile/page.tsx b/web/app/profile/page.tsxindex ebc0dfaf78..66a2a7b54f 100644--- a/web/app/profile/page.tsx+++ b/web/app/profile/page.tsx@@ -54,6 +54,7 @@ const ProfileSettingsPage = observer(() => {reset,watch,control,+ setValue,formState: { errors },} = useForm<IUser>({ defaultValues });// store hooks@@ -104,6 +105,7 @@ const ProfileSettingsPage = observer(() => {message: "Profile picture deleted successfully.",});setIsRemoving(false);+ setValue("avatar", "");}).catch(() => {setToast({@@ -112,7 +114,10 @@ const ProfileSettingsPage = observer(() => {message: "There was some error in deleting your profile picture. Please try again.",});})- .finally(() => setIsRemoving(false));+ .finally(() => {+ setIsRemoving(false);+ setIsImageUploadModalOpen(false);+ });});};