mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 16:23:28 +01:00
Fix the chevron enabled state upon refresh
Fix for my previous PR. Apologies for this silly copy/paste mistake. https://discord.com/channels/1014774730907209781/1014780368890630164/1075782233970970704
This commit is contained in:
parent
130f9678b2
commit
d8dec3e56a
@ -529,9 +529,9 @@ class ModelDropdown
|
||||
)
|
||||
this.modelFilter.classList.add('model-selector')
|
||||
this.modelFilterArrow = document.querySelector(`#${this.modelFilter.id}-model-filter-arrow`)
|
||||
// if (this.modelFilterArrow) {
|
||||
// this.modelFilterArrow.style.color = state ? 'dimgray' : ''
|
||||
// }
|
||||
if (this.modelFilterArrow) {
|
||||
this.modelFilterArrow.style.color = this.modelFilter.disabled ? 'dimgray' : ''
|
||||
}
|
||||
this.modelList = document.querySelector(`#${this.modelFilter.id}-model-list`)
|
||||
this.modelResult = document.querySelector(`#${this.modelFilter.id}-model-result`)
|
||||
this.modelNoResult = document.querySelector(`#${this.modelFilter.id}-model-no-result`)
|
||||
|
Loading…
Reference in New Issue
Block a user