From 835174612c83e06c4666b92baa582c7e7ccbaeb0 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 2 Apr 2024 10:09:28 -0300 Subject: [PATCH] Make value comparision not strict --- src/pages/Worker/Card/WorkerTimeControl.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Worker/Card/WorkerTimeControl.vue b/src/pages/Worker/Card/WorkerTimeControl.vue index 4e8b5f10d..b798d275b 100644 --- a/src/pages/Worker/Card/WorkerTimeControl.vue +++ b/src/pages/Worker/Card/WorkerTimeControl.vue @@ -64,7 +64,7 @@ const worker = computed(() => arrayData.store?.data); const isHr = computed(() => hasAny(['hr'])); -const isHimSelf = computed(() => user.value.id === route.params.id); +const isHimSelf = computed(() => user.value.id == route.params.id); const columns = computed(() => { return weekdayStore.getLocales?.map((day, index) => {