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
@@ -1,5 +1,6 @@
<script setup lang="ts">
import { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue';
import TableColumnsMenu from '@/components/TableColumnsMenu.vue';
import axios from 'axios';
import { api } from '@/lib/api';
import UiIcon from '@/components/UiIcon.vue';
@@ -1069,7 +1070,10 @@ onUnmounted(() => {
</div>
<div v-show="!isMobile" class="list-wrap">
<table v-if="items.length" class="desk-table">
<div v-if="items.length" class="tc-row">
<TableColumnsMenu table-key="message-automations" align="end" />
</div>
<table v-if="items.length" v-table-cols="'message-automations'" class="desk-table">
<thead>
<tr>
<th>عنوان</th>