mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-03-10 16:07:44 +00:00
FIX: eslint
This commit is contained in:
@@ -131,7 +131,10 @@ import { useStore } from "vuex";
|
||||
|
||||
// Utils
|
||||
import { getTicketTitle, motiveHierarchyLabel } from "../utils/utils";
|
||||
import {isThirdparty, Thirdparty} from "../../../../../../../ChillThirdPartyBundle/Resources/public/types";
|
||||
import {
|
||||
isThirdparty,
|
||||
Thirdparty,
|
||||
} from "../../../../../../../ChillThirdPartyBundle/Resources/public/types";
|
||||
|
||||
const props = defineProps<{
|
||||
ticket: Ticket;
|
||||
@@ -197,7 +200,7 @@ const isEmergency = computed({
|
||||
}
|
||||
},
|
||||
});
|
||||
const caller = computed<Person[]|Thirdparty[]>(() => {
|
||||
const caller = computed<Person[] | Thirdparty[]>(() => {
|
||||
if (null === props.ticket.caller) {
|
||||
return [];
|
||||
}
|
||||
@@ -207,7 +210,7 @@ const caller = computed<Person[]|Thirdparty[]>(() => {
|
||||
} else {
|
||||
return [props.ticket.caller];
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
const since = computed(() => {
|
||||
return store.getters.getSinceCreated(today.value);
|
||||
|
||||
@@ -94,8 +94,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { defineProps, defineEmits } from "vue";
|
||||
|
||||
// Types
|
||||
import { TicketSimple } from "../../../types";
|
||||
import { Person } from "ChillPersonAssets/types";
|
||||
|
||||
Reference in New Issue
Block a user