diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 4a41143d0..fb80a7175 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -131,7 +131,7 @@ const actionsIcon = { }; const validDate = new RegExp( /^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])/.source + - /T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(.[0-9]+)?(Z)?$/.source + /T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(.[0-9]+)?(Z)?$/.source, ); function castJsonValue(value) { @@ -193,7 +193,7 @@ function getLogTree(data) { user: log.user, userFk: log.userFk, logs: [], - }) + }), ); } // Model @@ -211,7 +211,7 @@ function getLogTree(data) { id: log.changedModelId, showValue: log.changedModelValue, logs: [], - }) + }), ); nLogs = 0; } @@ -283,7 +283,7 @@ function setDate(type) { to = date.adjustDate( to, { hour: 21, minute: 59, second: 59, millisecond: 999 }, - true + true, ); switch (type) { @@ -366,7 +366,7 @@ async function clearFilter() { dateTo.value = undefined; userRadio.value = undefined; Object.keys(checkboxOptions.value).forEach( - (opt) => (checkboxOptions.value[opt].selected = false) + (opt) => (checkboxOptions.value[opt].selected = false), ); await applyFilter(); } @@ -379,7 +379,7 @@ watch( () => router.currentRoute.value.params.id, () => { applyFilter(); - } + }, );