feat: refs #8001 ticketExpeditionGrafana #865

Merged
robert merged 13 commits from 8001-expeditionGrafana into dev 2024-12-16 12:35:13 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 68c691587d - Show all commits
src/pages/Ticket/Card

View File

@ -207,8 +207,8 @@ const openGrafana = (expeditionFk) => {
onMounted(async () => {
stateStore.rightDrawer = true;
const filteredColumns = columns.value.filter((col) => col.name !== 'history');
allColumnNames.value = filteredColumns.map((col) => col.name);
const filteredColumns = columns.value.filter(({ name }) => name !== 'history');
robert marked this conversation as resolved Outdated

Si solo usas name puedes usar la misma sintaxis del comentario anterior

Si solo usas name puedes usar la misma sintaxis del comentario anterior
allColumnNames.value = filteredColumns.map(({ name }) => name);
});
onUnmounted(() => (stateStore.rightDrawer = false));