label('Create baseline profile') ->disabled(fn (): bool => ! BaselineProfileResource::canCreate()) ->visible(fn (): bool => $this->getTableRecords()->count() > 0), ]; } }