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
…eeds-io/meeds#2140.

Before this change, when set plf langue to langue except english or french then open tasks project and create tasks with start and end date then open plan view, nothing displayed in plan view and error in browser console. After this change, plan view is available as it is the case for French & English.
  • Loading branch information
akhanfir committed Sep 27, 2024
1 parent 4710d83 commit 91b9705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/portlet/src/main/webapp/vue-apps/search/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let initialized = false;

// Handle Tag Link click
document.onclick = (event) => {
if (event && event.target && event.target.className && event.target.className.includes('metadata-tag')) {
if (event && event.target && event.target.className && JSON.stringify(event.target.className).includes('metadata-tag')) {
const tagName = event.target.innerText;
if (tagName) {
event.stopPropagation();
Expand Down

0 comments on commit 91b9705

Please sign in to comment.