small bug fix to update source-control provider

This commit is contained in:
Saeed Vaziry
2023-10-29 22:37:46 +01:00
parent 1bf3c94358
commit 7b8deddeca
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<div>
<x-input-label for="provider" :value="__('Source Control')" />
<x-select-input wire:model.defer="source_control" id="source_control" name="source_control" class="mt-1 w-full">
<option value="" disabled selected>{{ __("Select") }}</option>
<option value="" selected>{{ __("Select") }}</option>
@foreach(\App\Models\SourceControl::all() as $sourceControl)
<option value="{{ $sourceControl->id }}" @if($sourceControl->id === $source_control) selected @endif>{{ $sourceControl->profile }} ({{ $sourceControl->provider }})</option>
@endforeach