mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-02-23 05:42:01 +01:00
Fix model dropdown icon
This commit is contained in:
parent
fc2cf742c8
commit
df93fee034
@ -522,15 +522,15 @@ class ModelDropdown
|
|||||||
|
|
||||||
createDropdown() {
|
createDropdown() {
|
||||||
// create dropdown entries
|
// create dropdown entries
|
||||||
|
this.modelFilter.insertAdjacentElement('afterend', this.createRootModelList(this.inputModels))
|
||||||
this.modelFilter.insertAdjacentElement(
|
this.modelFilter.insertAdjacentElement(
|
||||||
'afterend',
|
'afterend',
|
||||||
this.createElement(
|
this.createElement(
|
||||||
'a',
|
'i',
|
||||||
{ id: `${this.modelFilter.id}-model-filter-arrow` },
|
{ id: `${this.modelFilter.id}-model-filter-arrow` },
|
||||||
['models-selector-arrow', 'fa-solid', 'fa-angle-down'],
|
['model-selector-arrow', 'fa-solid', 'fa-angle-down'],
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
this.modelFilter.insertAdjacentElement('afterend', this.createRootModelList(this.inputModels))
|
|
||||||
this.modelFilter.classList.add('model-selector')
|
this.modelFilter.classList.add('model-selector')
|
||||||
this.modelFilterArrow = document.querySelector(`#${this.modelFilter.id}-model-filter-arrow`)
|
this.modelFilterArrow = document.querySelector(`#${this.modelFilter.id}-model-filter-arrow`)
|
||||||
// if (this.modelFilterArrow) {
|
// if (this.modelFilterArrow) {
|
||||||
|
Loading…
Reference in New Issue
Block a user