feat: refs #8077 change request
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Robert Ferrús 2025-01-17 12:30:41 +01:00
parent e25896fa77
commit 8d428bbd13
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ onBeforeRouteLeave((to, from, next) => {
}); });
async function fetch(data) { async function fetch(data) {
const rows = $attrs['key-data'] ? data[$attrs['key-data']] : data; const rows = data[$attrs['key-data']] ?? data;
resetData(rows); resetData(rows);
emit('onFetch', rows); emit('onFetch', rows);
return rows; return rows;