Fix Stop button

This commit is contained in:
Justin Hawkins 2023-03-15 05:15:49 +10:30
parent 431ef985bc
commit 385de634f6

View File

@ -34,7 +34,7 @@
</table> </table>
<p>You can close this window and your download will continue. Check the <a href="/" target="_gropple_status">Status page</a> to see all downloads in progress.</p> <p>You can close this window and your download will continue. Check the <a href="/" target="_gropple_status">Status page</a> to see all downloads in progress.</p>
{{ if .canStop }} {{ if .canStop }}
<button x-show="state=='downloading'" class="pure-button" @click="stop()">stop</button> <button x-show="state=='Downloading'" class="pure-button" @click="stop()">stop</button>
{{ end }} {{ end }}
<div> <div>
<h4>Logs</h4> <h4>Logs</h4>