Skip to content

Commit 6b5b727

Browse files
Potential fix for code scanning alert no. 38: Identical operands
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 0c9959f commit 6b5b727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

personalization-webcomponents/src/ChecklistDetail.ce.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const closedCheckList = computed(() => {
135135
});
136136
137137
const deletionDate = computed(() => {
138-
if (checklist.value && checklist.value && checklist.value.lastUpdate) {
138+
if (checklist.value && checklist.value.lastUpdate) {
139139
const date = new Date(checklist.value.lastUpdate);
140140
date.setFullYear(date.getFullYear() + 1);
141141
return date.toLocaleString("de-DE", {

0 commit comments

Comments
 (0)