Skip to content

Commit

Permalink
client
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Jul 24, 2024
1 parent 3264b6c commit 85defc1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion client/actions/agenda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ export function convertEventToPlanningItem(event: IEventItem): Partial<IPlanning
const defaultValues = planningUtils.defaultPlanningValues(null, defaultPlace);
const eventLink: IPlanningRelatedEventLink = {
_id: event._id,
link_type: 'primary',
};

if (event.recurrence_id != null) {
Expand Down
1 change: 0 additions & 1 deletion client/api/planning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ function createFromEvent(event: IEventItem, updates: Partial<IPlanningItem>): Pr

const eventLink: IPlanningRelatedEventLink = {
_id: event._id,
link_type: 'primary',
};

if (event.recurrence_id != null) {
Expand Down
2 changes: 1 addition & 1 deletion client/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ export type IPlanningRelatedEventLinkType = 'primary' | 'secondary';

export interface IPlanningRelatedEventLink {
_id: string;
link_type: IPlanningRelatedEventLinkType;
link_type?: IPlanningRelatedEventLinkType;
recurrence_id?: string;
}

Expand Down

0 comments on commit 85defc1

Please sign in to comment.