diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-08-22 21:49:06 +0200 |
---|---|---|
committer | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-10-15 18:20:16 +0200 |
commit | ef5a9cf00d0842e8e359ddf99a3f492421f09220 (patch) | |
tree | a238354977ee2da1ad9d7c9e2ad6d93fa8280d51 /ocs/routes.php | |
parent | cd3dc1719b8e84526f2c99634f0dc8bf16380579 (diff) | |
download | nextcloud-server-ef5a9cf00d0842e8e359ddf99a3f492421f09220.tar.gz nextcloud-server-ef5a9cf00d0842e8e359ddf99a3f492421f09220.zip |
fix(files): Ensure renaming state is correctly reset
Problem: Is a node is renamed and the new name is out of the current
visible list of nodes the component will be recycled, this means
the props will change, so when the `onRename` functions is about to reset
the state the `this.source` will point to a different node.
To fix this, but also to separate business logic from visual representation,
the logic is moved into the renaming store and the component is only
responsible for rendering.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'ocs/routes.php')
0 files changed, 0 insertions, 0 deletions