PR-CUSTOMER #186

Merged
jsegarra merged 105 commits from :PR-CUSTOMER into dev 2024-04-19 15:55:53 +00:00
1 changed files with 4 additions and 13 deletions
Showing only changes of commit 7c8b0a345e - Show all commits

View File

@ -1,12 +1,10 @@
<script setup>
import { useI18n } from 'vue-i18n';
import { useQuasar } from 'quasar';
import TicketSummaryDialog from 'src/pages/Ticket/Card/TicketSummaryDialog.vue';
import { useSummaryDialog } from 'src/composables/useSummaryDialog';
import TicketSummary from 'src/pages/Ticket/Card/TicketSummary.vue';
const { t } = useI18n();
const quasar = useQuasar();
const $props = defineProps({
jsegarra marked this conversation as resolved Outdated

Eliminar porque sale warning

Eliminar porque sale warning

Asignación de prop eliminada:

Commit: 107eaea704

Asignación de prop eliminada: Commit: https://gitea.verdnatura.es/hyervoni/salix-front-mindshore/commit/107eaea704c5603a1bd72ae85e978199e51b88e9
id: {
@ -15,14 +13,7 @@ const $props = defineProps({
},
});
const viewSummary = () => {
quasar.dialog({
component: TicketSummaryDialog,
componentProps: {
id: $props.id,
},
});
};
const { viewSummary } = useSummaryDialog();
</script>
<template>
@ -33,7 +24,7 @@ const viewSummary = () => {
</QTooltip>
</QIcon>
<QIcon
@click.stop="viewSummary"
@click.stop="viewSummary(id, TicketSummary)"
class="q-ml-md"
color="primary"
name="preview"