From dfdf985a5e4ade44db4003c7fd27c30e3abbc63f Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Thu, 19 Dec 2024 21:15:40 +0000 Subject: [PATCH] wip --- .../lib/Controls/Fragments/FragmentFeedbackInstance.ts | 2 +- companion/lib/Controls/Fragments/FragmentFeedbacks.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/companion/lib/Controls/Fragments/FragmentFeedbackInstance.ts b/companion/lib/Controls/Fragments/FragmentFeedbackInstance.ts index ab54339208..6624278a39 100644 --- a/companion/lib/Controls/Fragments/FragmentFeedbackInstance.ts +++ b/companion/lib/Controls/Fragments/FragmentFeedbackInstance.ts @@ -28,7 +28,7 @@ export class FragmentFeedbackInstance { */ readonly #controlId: string - readonly #data: Omit + readonly #data: Omit #children = new Map() diff --git a/companion/lib/Controls/Fragments/FragmentFeedbacks.ts b/companion/lib/Controls/Fragments/FragmentFeedbacks.ts index cb92b200cd..b82d6dd954 100644 --- a/companion/lib/Controls/Fragments/FragmentFeedbacks.ts +++ b/companion/lib/Controls/Fragments/FragmentFeedbacks.ts @@ -424,7 +424,7 @@ export class FragmentFeedbacks { * Get all the feedback instances * @param onlyConnectionId Optionally, only for a specific connection */ - getFlattenedFeedbackInstances(onlyConnectionId?: string): Omit[] { + getFlattenedFeedbackInstances(onlyConnectionId?: string): Omit[] { const instances: FeedbackInstance[] = [] const extractInstances = (feedbacks: FeedbackInstance[]) => { @@ -433,12 +433,12 @@ export class FragmentFeedbacks { instances.push({ ...feedback, children: undefined, + advancedChildren: undefined, }) } - if (feedback.children) { - extractInstances(feedback.children) - } + if (feedback.children) extractInstances(feedback.children) + if (feedback.advancedChildren) extractInstances(feedback.advancedChildren) } }