The download button wasn't disabled when no file

This commit is contained in:
David Carley
2021-03-15 15:36:30 -07:00
parent 77d064badc
commit 3817c882c1

View File

@@ -419,7 +419,7 @@ script#control-view-template(type="text/x-template")
a(:disabled="!state.selected", download,
:href="'/api/file/' + state.selected",
title="Download the selected GCode program.")
button.pure-button(style="height:100px;width:100px")
button.pure-button(:disabled="!state.selected", style="height:100px;width:100px")
.fa.fa-download
button.pure-button(title="Delete current GCode program.",