mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
chore: optimizations and file name changes (#2845)
* fix: deepsource antipatterns * fix: deepsource exclude file patterns * chore: file name changes and removed unwanted variables * fix: changing version number for editor
This commit is contained in:
@@ -68,17 +68,13 @@ export const WorkspaceDetails: FC = observer(() => {
|
||||
|
||||
await updateWorkspace(currentWorkspace.slug, payload)
|
||||
.then((res) => {
|
||||
trackEvent(
|
||||
'UPDATE_WORKSPACE',
|
||||
res
|
||||
)
|
||||
trackEvent("UPDATE_WORKSPACE", res);
|
||||
setToastAlert({
|
||||
title: "Success",
|
||||
type: "success",
|
||||
message: "Workspace updated successfully",
|
||||
})
|
||||
}
|
||||
)
|
||||
});
|
||||
})
|
||||
.catch((err) => console.error(err));
|
||||
};
|
||||
|
||||
@@ -89,7 +85,7 @@ export const WorkspaceDetails: FC = observer(() => {
|
||||
|
||||
fileService.deleteFile(currentWorkspace.id, url).then(() => {
|
||||
updateWorkspace(currentWorkspace.slug, { logo: "" })
|
||||
.then((res) => {
|
||||
.then(() => {
|
||||
setToastAlert({
|
||||
type: "success",
|
||||
title: "Success!",
|
||||
|
||||
Reference in New Issue
Block a user