Skip to content

Commit

Permalink
fix add category
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Jan 16, 2024
1 parent add3eec commit 80ad58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/product-categories/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<div class="flex justify-start gap-4">
<x-tomato-admin-submit spinner :label="__('Save')" />
@if($item)
@isset($item)
<x-tomato-admin-button danger :href="route('admin.products.category.delete', $item->id)"
confirm="{{trans('tomato-admin::global.crud.delete-confirm')}}"
confirm-text="{{trans('tomato-admin::global.crud.delete-confirm-text')}}"
Expand Down

0 comments on commit 80ad58e

Please sign in to comment.