Files
CRM/resources/js/components/people/StayInTouchLabel.vue
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

21 lines
429 B
Vue

<script>
export default {
props: {
value: {
type: Number,
default: 0,
},
},
render(createElement) {
const text = this.$tc('people.stay_in_touch_modal_label', this.value, {count: '[slot]'});
const texts = _.split(text, '[slot]');
return createElement('div', [
createElement('span', texts[0]),
this.$slots.default,
createElement('span', texts[1]),
]);
},
};
</script>