Skip to content

Commit b89b6ba

Browse files
MyesteryDrJKL
authored andcommitted
refactor: remove unused menuOptionExists function
1 parent 942d5bd commit b89b6ba

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/composables/graph/contextMenuConverter.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -749,13 +749,3 @@ function stripHtmlTags(html: string): string {
749749
temp.innerHTML = html
750750
return temp.textContent || temp.innerText || html
751751
}
752-
753-
/**
754-
* Check if a menu option already exists in the list by label
755-
*/
756-
export function menuOptionExists(
757-
options: MenuOption[],
758-
label: string
759-
): boolean {
760-
return options.some((opt) => opt.label === label)
761-
}

0 commit comments

Comments
 (0)