chore: global issues ui improvement and bug fixes (#2300)

This commit is contained in:
Anmol Singh Bhatia 2023-09-29 12:36:38 +05:30 committed by GitHub
parent 6cb4b222d0
commit 459999e8c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 99 additions and 83 deletions

View file

@ -48,10 +48,12 @@ export const CreateUpdateWorkspaceViewModal: React.FC<Props> = ({
};
await workspaceService
.createView(workspaceSlug as string, payloadData)
.then(() => {
.then((res) => {
mutate(WORKSPACE_VIEWS_LIST(workspaceSlug as string));
handleClose();
router.replace(`/${workspaceSlug}/workspace-views/issues?viewId=${res.id}`);
setToastAlert({
type: "success",
title: "Success!",