chore(article): run laravel pint
This commit is contained in:
parent
4224aecbbc
commit
db35517288
@ -26,7 +26,7 @@ public function columns(): array
|
|||||||
|
|
||||||
Column::make('Status', 'status')
|
Column::make('Status', 'status')
|
||||||
->format(
|
->format(
|
||||||
fn($value) => Blade::render('<flux:badge color="' . $value->color() . '">' . $value->label() . '</flux:badge>')
|
fn ($value) => Blade::render('<flux:badge color="'.$value->color().'">'.$value->label().'</flux:badge>')
|
||||||
)
|
)
|
||||||
->html(),
|
->html(),
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
#[Title('Ubah Artikel')]
|
#[Title('Ubah Artikel')]
|
||||||
class Edit extends Component
|
class Edit extends Component
|
||||||
{
|
{
|
||||||
use WithToast, WithUpdatedData, WithAuthorization;
|
use WithAuthorization, WithToast, WithUpdatedData;
|
||||||
|
|
||||||
public ArticleForm $form;
|
public ArticleForm $form;
|
||||||
|
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
class Article extends Model implements HasMedia
|
class Article extends Model implements HasMedia
|
||||||
{
|
{
|
||||||
use HasFactory, HasSlug, InteractsWithMedia, SoftDeletes, HashableId;
|
use HasFactory, HashableId, HasSlug, InteractsWithMedia, SoftDeletes;
|
||||||
|
|
||||||
protected $guarded = ['id'];
|
protected $guarded = ['id'];
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user