diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-11 20:15:04 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-09-20 11:09:17 +0200 |
commit | 020b3ee25eea62db60646b7477c2e6fceeacbd1f (patch) | |
tree | d0722a51ab7b8ec2bb24b1afe9087badbc1ba1ff /apps/files/js | |
parent | 4ba3d4a31a5a27a7fad6b8928d899ec7247289ca (diff) | |
download | nextcloud-server-020b3ee25eea62db60646b7477c2e6fceeacbd1f.tar.gz nextcloud-server-020b3ee25eea62db60646b7477c2e6fceeacbd1f.zip |
fix(files): Ensure children are removed from folder and not duplicated
* Resolves https://github.com/nextcloud/server/issues/47904
We need to make sure that we only add one source (unique!) once as a child,
this is ensured by simply use a native `Set`.
Also we need to remove children on from folders when the `files:node:deleted`
event is emitted.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files/js')
0 files changed, 0 insertions, 0 deletions