Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Make node badge a vue component #1317

Merged
merged 3 commits into from
Oct 26, 2024
Merged

[Refactor] Make node badge a vue component #1317

merged 3 commits into from
Oct 26, 2024

Conversation

huchenlei
Copy link
Member

Refactors the node badge from a core extension into a vue component for easier access to vue's API.


nodeCreated(node: LGraphNode, app: ComfyApp) {
node.badgePosition = BadgePosition.TopRight
// @ts-expect-error Disable ComfyUI-Manager's badge drawing by setting badge_enabled to true. Remove this when ComfyUI-Manager's badge drawing is removed.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ComfyUI-Manager supports the detection of new frontend, so we can drop this line.

ltdrdata/ComfyUI-Manager@3701246

@huchenlei huchenlei merged commit 645897f into main Oct 26, 2024
9 checks passed
@huchenlei huchenlei deleted the badge_refactor branch October 26, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant