Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2022-02-03 15:11:18 +0300
committerJonas <jonas@freesources.org>2022-02-03 16:57:21 +0300
commita74c263b5baf345d139e6b8b3b1bae21e17d4e64 (patch)
tree0b941956ea546541df603b7a89a16ed27400d708 /src
parent7d45a380410baad08d7b325e11ac44dc813fbbca (diff)
Use file.path to track more accurately EditorWrapper instances
This fixes rich workspace loading when moving a Readme.md into a folder and navigating into that folder. The file.id stay the same, so no new components are created and RichWorkspace stays in an ready=false state because EditorWrapper never emit a new ready event. Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/views/RichWorkspace.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/RichWorkspace.vue b/src/views/RichWorkspace.vue
index cd85a9bf1..2e6b03dd5 100644
--- a/src/views/RichWorkspace.vue
+++ b/src/views/RichWorkspace.vue
@@ -30,7 +30,7 @@
<EditorWrapper v-if="file"
v-show="ready"
- :key="file.id"
+ :key="file.path"
:file-id="file.id"
:relative-path="file.path"
:share-token="shareToken"