mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 04:23:34 +00:00
fix(ui): no api tokens state (#11224)
This commit is contained in:
@@ -178,8 +178,10 @@
|
||||
@endif
|
||||
|
||||
@if ($tokens->isEmpty())
|
||||
<x-empty title="No API tokens" description="Create a token when an external client needs access."
|
||||
icon-name="keys" size="sm" />
|
||||
<div class="p-4">
|
||||
<x-empty title="No API tokens" description="Create a token when an external client needs access."
|
||||
icon-name="keys" size="sm" />
|
||||
</div>
|
||||
@else
|
||||
<div x-cloak x-show="filteredTokens.length > 0" class="data-table">
|
||||
<div class="data-table-header api-tokens-table-grid">
|
||||
@@ -246,7 +248,7 @@
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div x-cloak x-show="filteredTokens.length === 0">
|
||||
<div x-cloak x-show="filteredTokens.length === 0" class="p-4">
|
||||
<x-empty size="sm" title="No matching tokens"
|
||||
description="Try a different description or permission." />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user