bz-select improvements

This commit is contained in:
STEINNI
2025-10-21 08:37:47 +00:00
parent 4712946876
commit fd8369317d
5 changed files with 31 additions and 12 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ class KeyframeView extends WindozDomContent {
this.outputs.agentsSelector.fillOptions( this.agentTypes.map(item => {
return({ markup: `${item.atp_name}`, value: item.atp_id})
return({ markup: `<i class="icon-${item.atp_hascode ? 'bug' : 'atom1'}"></i>${item.atp_name}`, value: item.atp_id})
}))
this.outputs.agentsSelector.addEventListener('change',this.onChangeAgent.bind(this))