pull/5262/head
mertsincan 2024-02-11 08:46:46 +00:00
parent a4539ae307
commit 5d9ac9917d
1 changed files with 5 additions and 1 deletions

View File

@ -270,7 +270,11 @@ export default {
// $attrs without `pt:*`
return Object.entries(this.$attrs || {})
.filter(([key]) => !key?.startsWith('pt:'))
.reduce((acc, [key, value]) => (acc[key] = value) && acc, {});
.reduce((acc, [key, value]) => {
acc[key] = value;
return acc;
}, {});
}
}
};