Skip to content

Commit

Permalink
fix: plan view is ko in language different from EN & FR - EXO-72317 -M…
Browse files Browse the repository at this point in the history
  • Loading branch information
akhanfir authored Sep 25, 2024
2 parents 54a3910 + a40a78b commit aaab6cb
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,8 @@ export default {
document.addEventListener('loadProjectName', event => {
if (event && event.detail) {
const task = event.detail;
if (task.id!=null && task.status && task.status.project) {
if (task.status && task.status.project) {
this.projectModel = this.task.status.project;
this.projectLabel = this.$t('label.tapProject.name');
} else if (task.id==null && task.status && task.status.project){
this.projectModel = this.task.status.project;
this.projectLabel = this.$t('label.tapProject.name');
} else {
this.projectModel = null;
this.projectLabel = this.$t('label.noProject');
Expand Down

0 comments on commit aaab6cb

Please sign in to comment.