This commit is contained in:
notCharles 2025-11-05 17:43:08 -05:00
parent 48962b6875
commit d18c78f862
2 changed files with 2 additions and 3 deletions

View File

@ -637,12 +637,12 @@ class EditNode extends EditRecord
->heading(trans('admin/node.tabs.diagnostics'))
->columnSpanFull()
->columns(3)
->disabled(fn (Get $get) => ($get('pulled')))
->disabled(fn (Get $get) => $get('pulled'))
->headerActions([
Action::make('pull')
->label(trans('admin/node.diagnostics.pull'))
->icon('tabler-cloud-download')->iconButton()->iconSize(IconSize::ExtraLarge)
->hidden(fn (Get $get) => ($get('pulled')))
->hidden(fn (Get $get) => $get('pulled'))
->action(function (Get $get, Set $set, Node $node) {
$includeEndpoints = $get('include_endpoints') ?? true;
$includeLogs = $get('include_logs') ?? true;

View File

@ -16,7 +16,6 @@ use App\Services\Nodes\NodeUpdateService;
use App\Transformers\Api\Application\NodeTransformer;
use Dedoc\Scramble\Attributes\Group;
use Exception;
use Illuminate\Http\Client\Response;
use Illuminate\Http\JsonResponse;
use Spatie\QueryBuilder\QueryBuilder;
use Throwable;