hotfix: #6917 set right time #632

Merged
jorgep merged 3 commits from hotfix-fixVnInputTime into master 2024-08-21 07:28:28 +00:00
Member
No description provided.
jorgep added 1 commit 2024-08-20 14:57:32 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
0277aa50ce
fix: set right time
jorgep added 1 commit 2024-08-20 14:59:21 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
d89d324a7e
chore: drop ref
jorgep reviewed 2024-08-20 15:00:03 +00:00
@ -14,13 +14,13 @@ const props = defineProps({
default: false,
},
});
const initialDate = ref(model.value);
Author
Member

Mantenemos la fecha inicial.

Mantenemos la fecha inicial.
jorgep reviewed 2024-08-20 15:00:50 +00:00
@ -63,4 +64,2 @@
return date.formatDate(new Date(newDate), dateFormat);
}
watch(
Author
Member

Esto no hacía nada, no es posible modificar el valor de una variable de tipo computed.

Esto no hacía nada, no es posible modificar el valor de una variable de tipo computed.
jorgep reviewed 2024-08-20 15:01:18 +00:00
@ -69,4 +66,0 @@
{ immediate: true }
);
watch(
Author
Member

Al usar un input type="time" esto ya no es necesario.

Al usar un input type="time" esto ya no es necesario.
jorgep reviewed 2024-08-20 15:01:29 +00:00
@ -102,7 +76,7 @@ watch(
style="min-width: 100px"
:rules="$attrs.required ? [requiredFieldRule] : null"
@click="isPopupOpen = false"
@focus="inputRef.getNativeElement().setSelectionRange(0, 0)"
Author
Member

Ya no es necesario

Ya no es necesario
jorgep reviewed 2024-08-20 15:01:52 +00:00
@ -149,6 +123,11 @@ watch(
border-style: solid;
}
</style>
<style lang="scss" scoped>
Author
Member

Oculta el icono por defecto de los input type="time"

Oculta el icono por defecto de los input type="time"
jorgep added 1 commit 2024-08-20 15:02:44 +00:00
gitea/salix-front/pipeline/pr-master This commit looks good Details
7f2407996f
chore: const var
jorgep reviewed 2024-08-20 15:02:58 +00:00
@ -20,4 +21,3 @@
const dateFormat = 'HH:mm';
const isPopupOpen = ref();
const hover = ref();
const inputRef = ref();
Author
Member

Ya no se usa

Ya no se usa
jorgep added the
CR / Tests passed
label 2024-08-20 15:04:51 +00:00
jorgep requested review from jgallego 2024-08-20 15:11:20 +00:00
jgallego approved these changes 2024-08-20 15:35:18 +00:00
jorgep merged commit 172c238ac3 into master 2024-08-21 07:28:28 +00:00
jorgep deleted branch hotfix-fixVnInputTime 2024-08-21 07:28:28 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix-front#632
No description provided.