Skip to content
Snippets Groups Projects
Commit 4d09ff9c authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

table more compact

parent 567f9630
No related branches found
No related tags found
1 merge request!5Optional title abstract
Pipeline #111411 failed with stage
in 2 minutes and 55 seconds
...@@ -30,7 +30,7 @@ function filterOnlyCapsText(value, query, item) { ...@@ -30,7 +30,7 @@ function filterOnlyCapsText(value, query, item) {
<v-text-field v-model="search" density="compact" variant="underlined" prepend-inner-icon="mdi-magnify" <v-text-field v-model="search" density="compact" variant="underlined" prepend-inner-icon="mdi-magnify"
label="Search for defense systems" single-line hide-details class="mx-2" clearable></v-text-field> label="Search for defense systems" single-line hide-details class="mx-2" clearable></v-text-field>
</v-toolbar> </v-toolbar>
<v-data-table :items-per-page="itemsPerParge" v-model:sort-by="sortBy" :headers="props.headers" <v-data-table :items-per-page="itemsPerParge" v-model:sort-by="sortBy" :headers="props.headers" density="compact"
:custom-filter="filterOnlyCapsText" :items="props.systems" :search="search"> :custom-filter="filterOnlyCapsText" :items="props.systems" :search="search">
<template #[`item.system`]="{ item }"> <template #[`item.system`]="{ item }">
<v-chip variant="text" link :to="`${item.columns.system.path}`">{{ <v-chip variant="text" link :to="`${item.columns.system.path}`">{{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment