refs #6842 isFreelance #348
No reviewers
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#348
Loading…
Reference in New Issue
No description provided.
Delete Branch "6842-errorCalendar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: refs #6842 isFreelanceto refs #6842 isFreelance@ -2,3 +2,3 @@
import { ref, watch } from 'vue';
import { nextTick, ref, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRoute } from 'vue-router';
Habéis duplicado esta linea @jsegarra
@ -10,10 +10,12 @@ import WorkerCalendarItem from 'pages/Worker/Card/WorkerCalendarItem.vue';
import { useStateStore } from 'stores/useStateStore';
import axios from 'axios';
import { useRouter } from 'vue-router';
Habéis duplicado esta linea @jsegarra
@ -32,6 +34,12 @@ const onFetchActiveContract = (data) => {
hasWorkCenter.value = Boolean(data?.workCenterFk);
Entonces esta variable ya no se usa
@ -152,2 +170,4 @@
auto-load
/>
<FetchData
:url="`Workers/${route.params.id}`"
Si ya haceis la peticion por JS pq la volveis a hacer en vue?
@ -11,2 +11,4 @@
import axios from 'axios';
import { useRouter } from 'vue-router';
const router = useRouter();
Habéis duplicado esta linea @jsegarra
mmm, creo que no.
Hemos añadido useRouter y lo que habia es useRoute
useRouter!==useRoute
@ -13,2 +13,4 @@
import { useRouter } from 'vue-router';
const router = useRouter();
const stateStore = useStateStore();
const route = useRoute();
Habéis duplicado esta linea @jsegarra
mmm, creo que no.
Hemos añadido useRouter y lo que habia es useRoute
useRouter!==useRoute
New commits pushed, approval review dismissed automatically according to repository settings