Skip to content

LoRA metadata editor selects wrong model on the bottom of list when there many of them #1397

@Derfuu

Description

@Derfuu

Expected Behavior

Should select correct model after scrolling to the bottom of LoRA list (~700 items in LoRA list which may have wrong architecture type in their metadata).

Actual Behavior

By clicking on edit metadata of any of last LoRAs in list- is selects and shows wrong one that was located before in this list. After saving it without changing - list reloads and after that you can edit correct LoRA metadata.

Steps to Reproduce

  1. Have a many of LoRAs in single folder (in my case it's ~700 and several of them may have wrong architecture depending on selected base model)
  2. Reload LoRA's list.
  3. Scroll down to the bottom of list
  4. Try to edit metadata of last item in list
  5. All data shown in edit window will be from different model located above of one chosen for editing

Debug Logs

.

Other

Some of LoRAs are starred, some may have different architecture. Any sort variant makes this to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions