que se vean las imagenes sin extension
This commit is contained in:
parent
4ae0de0548
commit
ac8fbfb4ad
|
@ -128,10 +128,10 @@ export default defineComponent({
|
|||
const checkImageValidity = (imageLink) => {
|
||||
const validExtensions = [".jpg", ".jpeg", ".png"];
|
||||
|
||||
if (imageLink) {
|
||||
/*if (imageLink) {
|
||||
const extension = imageLink.substring(imageLink.lastIndexOf("."));
|
||||
return validExtensions.includes(extension.toLowerCase());
|
||||
}
|
||||
}*/
|
||||
|
||||
return true;
|
||||
};
|
||||
|
@ -182,6 +182,7 @@ export default defineComponent({
|
|||
<div class="product-content">
|
||||
<header class="product-content-header">
|
||||
<h3 class="product-content-title subtitle">
|
||||
{{ products.current?.image }}
|
||||
{{ products.current?.name }}
|
||||
<q-skeleton type="rect" v-if="!products.current?.name" />
|
||||
</h3>
|
||||
|
|
Loading…
Reference in New Issue