Skip to content
Snippets Groups Projects
Commit 9b2c9192 authored by LIOTIER MARION's avatar LIOTIER MARION
Browse files

remove template headers

parent 17c70826
No related branches found
No related tags found
No related merge requests found
......@@ -52,30 +52,6 @@
:item-value="itemSelectKey"
multi-sort
>
<!------------ TEMPLATE HEADERS -------------->
<template
v-for="header in trueHeaders"
:key="header.key"
#[`header.${header.key}`]="{ column, isSorted, getSortIcon, toggleSort, sortBy }"
>
<span
class="cursor-pointer"
@click="() => toggleSort(column)"
@mouseover="isHoverColumnKey = column.key as string"
@mouseleave="isHoverColumnKey = undefined"
><span class="text-subtitle-1 font-weight-medium">{{ column.title }}</span>
</span>
<span v-if="isSorted(column)">
<v-icon :icon="getSortIcon(column)" />
<v-chip size="x-small"><b>{{ getSortBadge(sortBy, column.key) }}</b></v-chip>
</span>
<v-icon
v-else-if="showSortArrow(column.key as string)"
icon="mdi-arrow-up"
color="grey"
/>
</template>
<!------------ TEMPLATE ITEMS -------------->
<!-- Action columns -->
<template
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment