fix categories deleting problem and color picker

This commit is contained in:
TheCOBAN 2019-11-17 16:29:36 +03:00
parent 8058a954ca
commit cb30977da4
3 changed files with 50179 additions and 3417 deletions

View File

@ -3,6 +3,7 @@
namespace App\Jobs\Setting; namespace App\Jobs\Setting;
use App\Abstracts\Job; use App\Abstracts\Job;
use App\Models\Setting\Category;
class DeleteCategory extends Job class DeleteCategory extends Job
{ {

File diff suppressed because one or more lines are too long

View File

@ -33,7 +33,7 @@
<div class="input-group input-group-merge" id="category-color-picker"> <div class="input-group input-group-merge" id="category-color-picker">
<div class="input-group-prepend"> <div class="input-group-prepend">
<span class="input-group-text"> <span class="input-group-text">
<el-color-picker v-model="color" size="small" :predefine="predefineColors" @change="onChangeColor"></el-color-picker> <el-color-picker v-model="color" size="mini" :predefine="predefineColors" @change="onChangeColor"></el-color-picker>
</span> </span>
</div> </div>
{!! Form::text('color', $category->color, ['@input' => 'onChangeColorInput', 'id' => 'color', 'class' => 'form-control color-hex', 'required' => 'required']) !!} {!! Form::text('color', $category->color, ['@input' => 'onChangeColorInput', 'id' => 'color', 'class' => 'form-control color-hex', 'required' => 'required']) !!}