This commit is contained in:
mertsincan 2024-02-11 08:46:46 +00:00
parent a4539ae307
commit 5d9ac9917d

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;
}, {});
}
}
};