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

fix(ui): initial main model in dropdown #5968

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

maryhipp
Copy link
Collaborator

@maryhipp maryhipp commented Mar 15, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Community Node Submission

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Have you updated all relevant documentation?

  • Yes
  • No

Description

The switch to one model list introduced a bug in the main model logic where it was using the whole list of models and not just the main model list. When storage was cleared, this mean that model that was not type=main could get set as main model, and that manifested as an invalid main model select.

@github-actions github-actions bot added the frontend PRs that change frontend files label Mar 15, 2024
@maryhipp maryhipp merged commit 8c04eec into main Mar 15, 2024
14 checks passed
@maryhipp maryhipp deleted the maryhipp/fix-init-main-model branch March 15, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend PRs that change frontend files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants