Update text.blade.php

This commit is contained in:
Devansh 2022-07-20 18:45:23 +05:30 committed by GitHub
parent d8d57263e2
commit 8fb656ade5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -15,5 +15,5 @@
{{-- To Do (@devansh-webkul): Need to handle from the backend. --}}
{{ in_array($attribute->code, ['url_key']) ? 'v-slugify' : '' }}
{{ $attribute->code == 'name' && ! $product[$attribute->code] ? 'v-slugify-target=\'url_key\'' : '' }}
>
{{ $attribute->code == 'name' && ! $product->url_key ? 'v-slugify-target=\'url_key\'' : '' }}
>