Okay last tweak I'm seriously gonna stop

This commit is contained in:
Fermi
2019-11-20 21:44:02 +00:00
parent bfb5f75016
commit a4d61f8571
3 changed files with 15 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@@ -54,7 +54,7 @@
<ui-section label='Synthesize'>
{{#each data.synthchems}}
<ui-button grid action='synth' params='{"chem": "{{id}}"}'>{{name}}</ui-button>
<ui-button grid state='{{synth_allowed ? null : "disabled"}}' action='synth' params='{"chem": "{{id}}"}'>{{name}}</ui-button>
{{/each}}
</ui-section>