Add per-user saved column visibility for tables

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-05 11:56:49 +03:30
co-authored by Cursor
parent 75ff2c36c4
commit 23c83ffbee
29 changed files with 624 additions and 23 deletions
+5 -1
View File
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { computed, onMounted, onUnmounted, ref, watch } from 'vue';
import TableColumnsMenu from '@/components/TableColumnsMenu.vue';
import { useRoute, useRouter } from 'vue-router';
import axios from 'axios';
import { api } from '@/lib/api';
@@ -897,8 +898,11 @@ onUnmounted(() => {
</article>
</div>
<div v-if="tab === 'users'" class="tc-row desktop-table">
<TableColumnsMenu table-key="team.users" align="end" />
</div>
<div v-if="tab === 'users'" class="table-card desktop-table">
<table>
<table v-table-cols="'team.users'">
<thead>
<tr>
<th>نام و نام خانوادگی</th>