fix: 🐛 Disable Cancel Button

This commit is contained in:
IceToast 2022-07-22 05:06:38 +02:00
parent f3856c88ba
commit 4b27665150

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>