diff --git a/frontend/src/modules/contributor/components/edit/work-history/contributor-work-history-edit.vue b/frontend/src/modules/contributor/components/edit/work-history/contributor-work-history-edit.vue index 8ac86a311f..0a35666b74 100644 --- a/frontend/src/modules/contributor/components/edit/work-history/contributor-work-history-edit.vue +++ b/frontend/src/modules/contributor/components/edit/work-history/contributor-work-history-edit.vue @@ -274,16 +274,16 @@ const hasSameOrgDetails = computed(() => props.contributor.organizations return false; } - // Check if titles matching - if (form.title !== o.memberOrganizations.title) { - return false; - } - // Check for empty info if (!form.title && !form.dateStart && !form.dateEnd) { return true; } + // Check if titles matching + if (form.title !== o.memberOrganizations.title) { + return false; + } + // Check if dates matching const start = form.dateStart && o.memberOrganizations.dateStart ? moment(form.dateStart).startOf('month').isSame(moment(o.memberOrganizations.dateStart), 'day')