Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro committed Feb 6, 2025
1 parent a499a9f commit 841501f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/agenda/components/AgendaPreviewPlanning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class AgendaPreviewPlanningComponent extends React.Component<IProps, IState> {
<div>{gettext('No Related Planning Items')}</div>
) : (
relatedPlanningItems.map((planningItem: any) => {
const isExpanded = planningItem && expandedPlanningItems[planningItem._id] || false;
const isExpanded = expandedPlanningItems[planningItem._id] || false;
return (
<div
key={planningItem.guid}
Expand Down
2 changes: 1 addition & 1 deletion assets/agenda/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1189,4 +1189,4 @@ export const getFilteredItems = (itemIds: Array<IAgendaItem['_id']>, items: Arra
return itemIds
.map((id:any) => items[id])
.filter((item) => item != null);
};
};

0 comments on commit 841501f

Please sign in to comment.