mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: project setting ui consistency (#2835)
This commit is contained in:
parent
a1a9015df2
commit
152a920788
@ -63,10 +63,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
|
||||
return projectStore
|
||||
.updateProject(workspaceSlug.toString(), project.id, payload)
|
||||
.then((res) => {
|
||||
trackEvent(
|
||||
'UPDATE_PROJECT',
|
||||
res
|
||||
);
|
||||
trackEvent("UPDATE_PROJECT", res);
|
||||
setToastAlert({
|
||||
type: "success",
|
||||
title: "Success!",
|
||||
@ -74,9 +71,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
|
||||
});
|
||||
})
|
||||
.catch((error) => {
|
||||
trackEvent(
|
||||
'UPDATE_PROJECT/FAIL',
|
||||
);
|
||||
trackEvent("UPDATE_PROJECT/FAIL");
|
||||
setToastAlert({
|
||||
type: "error",
|
||||
title: "Error!",
|
||||
@ -261,7 +256,7 @@ export const ProjectDetailsForm: FC<IProjectDetailsForm> = (props) => {
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
label={selectedNetwork?.label ?? "Select network"}
|
||||
className="!border-custom-border-200 !shadow-none font-medium"
|
||||
buttonClassName="!border-custom-border-200 !shadow-none font-medium rounded-md"
|
||||
input
|
||||
disabled={!isAdmin}
|
||||
optionsClassName="w-full"
|
||||
|
Loading…
Reference in New Issue
Block a user