# All files / js/pages/notes Index.vue

0% Statements 0/3
100% Branches 0/0
0% Functions 0/1
0% Lines 0/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31

     <script setup lang="ts">
    import NotesPanel from '@/components/NotesPanel.vue';
    import AppLayout from '@/layouts/AppLayout.vue';
    import { Head } from '@inertiajs/vue3';

    interface ModuleOption {
        value: string;
        label: string;
    }

    interface Props {
        modules: ModuleOption[];
    }

    const props = defineProps<Props>();
    </script>

    <template>
        <Head title="Notes" />

        <AppLayout :breadcrumbs="[{ title: 'Notes', href: '/notes' }]">
            <div class="p-4">
                <NotesPanel
                    title="Notes Module"
                    :show-module-selector="true"
                    :modules="props.modules"
                />
            </div>
        </AppLayout>
    </template>