Skip to content

Commit

Permalink
Merge pull request #1481 from jadmsaadaot/TRACK-task#1201-B
Browse files Browse the repository at this point in the history
update project abbreviation when new project name is updated
  • Loading branch information
jadmsaadaot authored Dec 20, 2023
2 parents 22b460b + f09ba3f commit 8a89297
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epictrack-web/src/components/project/ProjectForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export default function ProjectForm({ ...props }) {
};

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

try {
const response = await projectService.createProjectAbbreviation(
Expand Down

0 comments on commit 8a89297

Please sign in to comment.