Admin user and Portal profile edit picture date bind issue ( #3qec06f )

This commit is contained in:
Cüneyt Şentürk 2022-10-31 16:03:10 +03:00
parent 5cb3837c6c
commit dd2af1ccb8
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
@if (setting('default.use_gravatar', '0') == '1') @if (setting('default.use_gravatar', '0') == '1')
<x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-2" /> <x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-2" />
@else @else
<x-form.group.file name="picture" label="{{ trans_choice('general.pictures', 1) }}" not-required form-group-class="sm:col-span-3 sm:row-span-2" /> <x-form.group.file name="picture" :value="$user->picture" label="{{ trans_choice('general.pictures', 1) }}" not-required form-group-class="sm:col-span-3 sm:row-span-2" />
@endif @endif
@if (user()->id == $user->id) @if (user()->id == $user->id)

View File

@ -28,7 +28,7 @@
@if (setting('default.use_gravatar', '0') == '1') @if (setting('default.use_gravatar', '0') == '1')
<x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-3" /> <x-form.group.text name="fake_picture" label="{{ trans_choice('general.pictures', 1) }}" disabled placeholder="{{ trans('settings.default.use_gravatar') }}" form-group-class="sm:col-span-3 sm:row-span-3" />
@else @else
<x-form.group.file name="picture" label="{{ trans_choice('general.pictures', 1) }}" not-required form-group-class="sm:col-span-3 sm:row-span-3" /> <x-form.group.file name="picture" label="{{ trans_choice('general.pictures', 1) }}" :value="$user->picture" not-required form-group-class="sm:col-span-3 sm:row-span-3" />
@endif @endif
<x-form.group.password name="current_password" :label="trans('auth.password.current')" v-show="show_password" /> <x-form.group.password name="current_password" :label="trans('auth.password.current')" v-show="show_password" />