From 08dbe495da7c34acb0efa9b0dd90d8994d6b5f31 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Tue, 2 Jun 2026 20:54:34 +0200 Subject: [PATCH] fix(files): make sure nested changes are propagated to sidebar tabs If an object is passed from one app to another app through a web component, then only reference changes (new objects) are marked as reactive changes in the receiving app. In this case e.g. `mtime` changes were not properly propagated, so to fix this we explicitly clone the objects before passing to the sidebar tab. Signed-off-by: Ferdinand Thiessen --- .../FilesSidebar/FilesSidebarTab.vue | 25 ++++++++++++------ apps/files/src/store/files.ts | 10 ++++++- .../src/views/FilesVersionsSidebarTab.vue | 26 +++++++++---------- 3 files changed, 38 insertions(+), 23 deletions(-) diff --git a/apps/files/src/components/FilesSidebar/FilesSidebarTab.vue b/apps/files/src/components/FilesSidebar/FilesSidebarTab.vue index 578654492838a..224e802efbe33 100644 --- a/apps/files/src/components/FilesSidebar/FilesSidebarTab.vue +++ b/apps/files/src/components/FilesSidebar/FilesSidebarTab.vue @@ -4,13 +4,12 @@ -->