fix: refs #7323 update date on outside
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
894fba7772
commit
75b49490f6
|
@ -103,9 +103,12 @@ const formattedWeekTotalHours = computed(() =>
|
||||||
const onInputChange = async (date) => {
|
const onInputChange = async (date) => {
|
||||||
if (!date) return;
|
if (!date) return;
|
||||||
|
|
||||||
const { year, month, day } = date.scope.timestamp;
|
const { timestamp, outside } = date.scope;
|
||||||
|
const { year, month, day } = timestamp;
|
||||||
const _date = new Date(year, month - 1, day);
|
const _date = new Date(year, month - 1, day);
|
||||||
setDate(_date);
|
setDate(_date);
|
||||||
|
|
||||||
|
if (outside) getMailStates(_date);
|
||||||
};
|
};
|
||||||
|
|
||||||
const setDate = async (date) => {
|
const setDate = async (date) => {
|
||||||
|
|
Loading…
Reference in New Issue