add missing helper js file

This commit is contained in:
Harald Bamberger
2025-08-13 16:37:28 +02:00
parent 50b2334e5c
commit d4f5a7c92f
@@ -0,0 +1,8 @@
import ApiNotizPerson from '../../../../../api/factory/notiz/person.js';
export async function getSuffix(modelValue) {
const response = await this.$api
.call(ApiNotizPerson.getCountNotes(modelValue.person_id));
const suffix = ' (' + response.data + ')';
return suffix;
}