Skip to content

Commit f09ba3f

Browse files
committed
update project abbreviation when new project name is updated
1 parent f957072 commit f09ba3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

epictrack-web/src/components/project/ProjectForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export default function ProjectForm({ ...props }) {
174174
};
175175

176176
const onBlurProjectName = async () => {
177-
if (!formValues.name || Boolean(formValues.abbreviation)) return;
177+
if (!formValues.name || Boolean(props.projectId)) return;
178178

179179
try {
180180
const response = await projectService.createProjectAbbreviation(

0 commit comments

Comments
 (0)