From bad43d875553df188ff2fe31c46a276ac9626094 Mon Sep 17 00:00:00 2001 From: iptoux Date: Sun, 20 Apr 2025 11:42:41 +0200 Subject: [PATCH] Refactor task display with encrypted description handling Introduce a specific `displayTasks` view-model to manage decrypted task descriptions separately from original data. This enhances separation of concerns, optimizes UI updates, and ensures better maintainability. The drag-and-drop functionality was updated to handle both the original and display arrays in sync. --- .../task-list/task-list.component.html | 2 +- .../task-list/task-list.component.ts | 37 +++++++++++++++++-- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/src/app/components/task-list/task-list.component.html b/src/app/components/task-list/task-list.component.html index f44045a..8b1c5cc 100644 --- a/src/app/components/task-list/task-list.component.html +++ b/src/app/components/task-list/task-list.component.html @@ -9,7 +9,7 @@