Merge pull request #4622 from devansh-webkul/blank-channel-slider

Blank Channel Name On Slider Fixed
This commit is contained in:
Glenn Hermans 2021-02-12 17:20:01 +01:00 committed by GitHub
commit 74e97d231d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@
<select class="control" id="channel_id" name="channel_id" v-validate="'required'" data-vv-as="&quot;{{ __('admin::app.settings.sliders.channels') }}&quot;">
@foreach ($channels as $channel)
<option value="{{ $channel->id }}" @if ($channel->id == old('channel_id')) selected @endif>
{{ __($channel->name) }}
{{ __(core()->getChannelName($channel)) }}
</option>
@endforeach
</select>

View File

@ -49,7 +49,7 @@
<select class="control" id="channel_id" name="channel_id" data-vv-as="&quot;{{ __('admin::app.settings.sliders.channels') }}&quot;" value="" v-validate="'required'">
@foreach ($channels as $channel)
<option value="{{ $channel->id }}" @if ($channel->id == $slider->channel_id) selected @endif>
{{ __($channel->name) }}
{{ __(core()->getChannelName($channel)) }}
</option>
@endforeach
</select>