Mobile working with new sort
This commit is contained in:
@@ -178,9 +178,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</v-data-table>
|
</v-data-table>
|
||||||
</template>
|
</template>
|
||||||
<!-- MOBILE TABLE VIEW about to be removed -->
|
<!-- MOBILE TABLE VIEW -->
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<v-data-iterator
|
<v-data-table
|
||||||
:headers="headers"
|
:headers="headers"
|
||||||
:items="records"
|
:items="records"
|
||||||
v-model="selected"
|
v-model="selected"
|
||||||
@@ -201,22 +201,7 @@
|
|||||||
class="elevation-1"
|
class="elevation-1"
|
||||||
data-cy="datatable"
|
data-cy="datatable"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:body="{ items }">
|
||||||
<!-- Mimic the full width data table select all toggle :no-data-text="$ay.t('NoData')"-->
|
|
||||||
<div
|
|
||||||
id="divSelectAll"
|
|
||||||
@click="props.toggleSelectAll(!props.everyItem)"
|
|
||||||
class="pl-2 pt-2"
|
|
||||||
>
|
|
||||||
<v-icon v-if="!props.someItems" large>$ayiSquare</v-icon>
|
|
||||||
<v-icon v-if="props.someItems && !props.everyItem" large
|
|
||||||
>$ayiMinus-square</v-icon
|
|
||||||
>
|
|
||||||
<v-icon v-if="props.everyItem" large>$ayiCheckSquare</v-icon>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template v-slot:default="{ items }">
|
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col
|
<v-col
|
||||||
v-for="item in items"
|
v-for="item in items"
|
||||||
@@ -358,7 +343,7 @@
|
|||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</template>
|
</template>
|
||||||
</v-data-iterator>
|
</v-data-table>
|
||||||
</template>
|
</template>
|
||||||
</v-card>
|
</v-card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user