Skip to content

Commit 17423d5

Browse files
committed
fix: fixed conficts
1 parent 27ec2f3 commit 17423d5

2 files changed

Lines changed: 17 additions & 15 deletions

File tree

src/visualBuilder/components/icons/index.tsx

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,22 @@ export function WarningOctagonIcon(): JSX.Element {
311311
);
312312
}
313313

314+
export function MoreIcon(): JSX.Element {
315+
return (
316+
<svg
317+
width="32"
318+
height="32"
319+
viewBox="0 0 24 24"
320+
fill="none"
321+
xmlns="http://www.w3.org/2000/svg"
322+
>
323+
<circle cx="12" cy="6" r="2" fill="#475161" />
324+
<circle cx="12" cy="12" r="2" fill="#475161" />
325+
<circle cx="12" cy="18" r="2" fill="#475161" />
326+
</svg>
327+
);
328+
}
329+
314330
export function ContentTypeIcon(): JSX.Element {
315331
return (
316332
<div
@@ -342,18 +358,3 @@ export function CaretRightIcon(): JSX.Element {
342358

343359
)
344360
}
345-
export function MoreIcon(): JSX.Element {
346-
return (
347-
<svg
348-
width="32"
349-
height="32"
350-
viewBox="0 0 24 24"
351-
fill="none"
352-
xmlns="http://www.w3.org/2000/svg"
353-
>
354-
<circle cx="12" cy="6" r="2" fill="#475161" />
355-
<circle cx="12" cy="12" r="2" fill="#475161" />
356-
<circle cx="12" cy="18" r="2" fill="#475161" />
357-
</svg>
358-
);
359-
}

src/visualBuilder/generators/generateToolbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ export function removeFieldToolbar(toolbar: Element) {
178178
const toolbarEvents = [
179179
VisualBuilderPostMessageEvents.DELETE_INSTANCE,
180180
VisualBuilderPostMessageEvents.UPDATE_DISCUSSION_ID,
181+
VisualBuilderPostMessageEvents.FIELD_LOCATION_DATA
181182
];
182183
toolbarEvents.forEach((event) => {
183184
//@ts-expect-error - We are accessing private method here, but it is necessary to clean up the event listeners.

0 commit comments

Comments
 (0)