fix: 🐛 Disable Cancel Button

This commit is contained in:
IceToast 2022-07-22 05:06:38 +02:00 committed by IceToast
parent e310dba243
commit e4165181fe
No known key found for this signature in database
GPG key ID: 1464353E063A5B97

View file

@ -199,7 +199,7 @@
</a>
<button onclick="handleServerCancel('{{ $server->id }}');" target="__blank"
class="btn btn-warning text-center"
disabled="{{ $server->suspended }}"
{{ $server->suspended? "disabled" : "" }}
data-toggle="tooltip" data-placement="bottom" title="{{ __('Cancel Server') }}">
<i class="fas fa-ban mx-4"></i>
</button>