Add per-user saved column visibility for tables
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { computed, onMounted, ref, watch } from 'vue';
|
||||
import TableColumnsMenu from '@/components/TableColumnsMenu.vue';
|
||||
import { RouterLink, useRoute, useRouter } from 'vue-router';
|
||||
import axios from 'axios';
|
||||
import { api } from '@/lib/api';
|
||||
@@ -461,8 +462,11 @@ onMounted(load);
|
||||
<p v-else-if="loading" class="muted">در حال بارگذاری…</p>
|
||||
|
||||
<template v-else>
|
||||
<div class="tc-row desk">
|
||||
<TableColumnsMenu table-key="invoices" align="end" />
|
||||
</div>
|
||||
<div class="table-wrap desk">
|
||||
<table>
|
||||
<table v-table-cols="'invoices'">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="check">
|
||||
|
||||
Reference in New Issue
Block a user