feat: refs #8077 changes 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-23 09:14:54 +01:00
parent 13290aa44b
commit 2ffcb6dfe8
1 changed files with 2 additions and 1 deletions

View File

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