瀏覽代碼

Merge branch 'dev-rewardPoints' into dev

bianjunhui 1 月之前
父節點
當前提交
64587af53f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/Webkul/Admin/src/Resources/views/configuration/field-type.blade.php

+ 1 - 1
packages/Webkul/Admin/src/Resources/views/configuration/field-type.blade.php

@@ -17,7 +17,7 @@
         validations="{{ $field->getValidations() }}"
         validations="{{ $field->getValidations() }}"
         is-require="{{ $field->isRequired() }}"
         is-require="{{ $field->isRequired() }}"
         depend-name="{{ $field->getDependFieldName() }}"
         depend-name="{{ $field->getDependFieldName() }}"
-        src="{{ Storage::url($value) }}"
+        src="{{ $value ? Storage::url($value) : '' }}"
         field-data="{{ json_encode($field) }}"
         field-data="{{ json_encode($field) }}"
         channel-count="{{ $channels->count() }}"
         channel-count="{{ $channels->count() }}"
         current-channel="{{ $currentChannel }}"
         current-channel="{{ $currentChannel }}"