<script setup>
import VnNotes from 'src/components/ui/VnNotes.vue';
import { useState } from 'src/composables/useState';
const state = useState();
const user = state.getUser();
</script>
<template>
    <VnNotes
        url="clientObservations"
        :add-note="true"
        :filter="{ where: { clientFk: $route.params.id } }"
        :body="{ clientFk: $route.params.id, userFk: user.id }"
        style="overflow-y: auto"
        :select-type="true"
        required
        order="created DESC"
    />
</template>
