Weekly tickets #459
|
@ -1,7 +1,10 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import VnLog from 'src/components/common/VnLog.vue';
|
import VnLog from 'src/components/common/VnLog.vue';
|
||||||
|
import { useRoute } from 'vue-router';
|
||||||
|
|
||||||
|
const route = useRoute();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<VnLog model="Ticket" url="/TicketLogs"></VnLog>
|
<VnLog model="Ticket" url="/TicketLogs" :key="route.params.id"></VnLog>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -724,8 +724,9 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
</QTd>
|
</QTd>
|
||||||
</template>
|
</template>
|
||||||
<template #body-cell-history="{ row }">
|
<template #body-cell-history="{ row }">
|
||||||
<QTd v-if="row.hasLogs">
|
<QTd>
|
||||||
<QBtn
|
<QBtn
|
||||||
|
v-if="row.$hasLogs"
|
||||||
@click.stop="goToLog(row.id)"
|
@click.stop="goToLog(row.id)"
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="history"
|
icon="history"
|
||||||
|
|
Loading…
Reference in New Issue