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

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2022-04-06 15:30:04 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-04-06 16:01:20 +0300
commit50524c2ea20abc0cb55f4a07f6206eb692b933ee (patch)
tree7998a7e2f3f268eaaea0b757a9707ac81e287c98 /src/store/getters.js
parent76f9733800d6a117f83a20e64eb8e444c857ab90 (diff)
Pipe all composer data through the Vuex store
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src/store/getters.js')
-rw-r--r--src/store/getters.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/store/getters.js b/src/store/getters.js
index 5c87d45c7..255c65fa1 100644
--- a/src/store/getters.js
+++ b/src/store/getters.js
@@ -57,7 +57,10 @@ export const getters = {
showMessageComposer: (state) => {
return state.newMessage !== undefined
},
- messageComposerOptions: (state) => {
+ composerMessage: (state) => {
+ return state.newMessage
+ },
+ composerMessageOptions: (state) => {
return state.newMessage?.options
},
getEnvelope: (state) => (id) => {