id}", 'label' => "{$server->name} (build server)", 'disabled' => true, ], )->values(), ), ]; }, get cloneDestinationOptions() { return this.availableDestinations.map(destination => ({ value: destination.uuid, label: destination.name, })); }, get moveProjectOptions() { return this.projects.map(project => ({ value: project.id, label: project.name + (project.id == this.currentProjectId ? ' (current)' : ''), })); }, get moveEnvironmentOptions() { return this.availableEnvironments.map(environment => ({ value: environment.id, label: environment.name, })); } }" x-init=" $watch('selectedCloneServer', () => selectedCloneDestination = null); $watch('selectedMoveProject', () => selectedMoveEnvironment = null); " class="flex flex-col gap-6"> @can('update', $resource) Cloning copies settings, environment variables, and resource configuration. Stored files, database records, and other persistent data are not copied.

The running resource will not be changed.

Clone resource
@if ($projects->count() > 0)

All configuration will move with the resource.

Move resource
@else @endif
@else You do not have permission to clone or move this resource. Contact a team administrator for access. @endcan