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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-03-24 17:16:55 +0300
committerGitHub <noreply@github.com>2021-03-24 17:16:55 +0300
commit1e3122db66f96ca8039a3225f24b5e3765c6e0cb (patch)
tree46dd6c2bfb258ea52436cc97224b3ec0072918c2 /src/components/NewMessageForm
parente5326f4b8630cd00256bcfcffb3f191b552e0ecd (diff)
parenteb7532bee9c089768256335b1c1d9ec24c8c6b31 (diff)
Merge pull request #5378 from nextcloud/bugfix/5375/fix-mark-unread-sidebar
Faster update of left sidebar after marking as unread
Diffstat (limited to 'src/components/NewMessageForm')
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue
index faeb145a5..548740494 100644
--- a/src/components/NewMessageForm/NewMessageForm.vue
+++ b/src/components/NewMessageForm/NewMessageForm.vue
@@ -228,6 +228,10 @@ export default {
watch: {
disabled(newValue) {
+ // the menu is not always available
+ if (!this.$refs.uploadMenu) {
+ return
+ }
this.$refs.uploadMenu.$refs.menuButton.disabled = newValue
},