<script setup>
import VnCard from 'components/common/VnCard.vue';
import TravelDescriptor from './TravelDescriptor.vue';
import filter from './TravelFilter.js';
</script>
<template>
    <VnCard
        data-key="Travel"
        base-url="Travels"
        :descriptor="TravelDescriptor"
        :filter="filter"
        search-data-key="TravelList"
        :searchbar-props="{
            url: 'Travels/filter',
            searchUrl: 'table',
            label: 'Search travel',
        }"
    />
</template>
