fix: refs #8581 update default data-cy value in VnTable component

This commit is contained in:
Jorge Penadés 2025-03-05 12:28:31 +01:00
parent 02d8254c0f
commit 7b4b5c892a
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ const $props = defineProps({
},
dataCy: {
type: String,
default: 'vn-table',
default: 'vnTable',
},
});
@ -685,7 +685,7 @@ const rowCtrlClickFunction = computed(() => {
@update:selected="emit('update:selected', $event)"
@selection="(details) => handleSelection(details, rows)"
:hide-selected-banner="true"
:data-cy="$props.dataCy ?? 'vnTable'"
:data-cy
>
<template #top-left v-if="!$props.withoutHeader">
<slot name="top-left"> </slot>