From bc88762bce529277d7f724b48f98541af135bd9b Mon Sep 17 00:00:00 2001
From: Helmi Akermi <70575401+hakermi@users.noreply.github.com>
Date: Thu, 31 Oct 2024 17:57:34 +0100
Subject: [PATCH] feat: Allow space member to schedule post - EXO-75098 -
Meeds-io/MIPs#161 (#1194)
Allow space member to schedule post
---
.../components/NotePublicationDrawer.vue | 19 +++++++++++++++----
.../schedule-option/NoteScheduleOption.vue | 5 +++++
.../components/NoteFullRichEditor.vue | 7 ++-----
3 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/notes-webapp/src/main/webapp/vue-app/notes-publication/components/NotePublicationDrawer.vue b/notes-webapp/src/main/webapp/vue-app/notes-publication/components/NotePublicationDrawer.vue
index f3aa9ff70c..6cfa6a350d 100644
--- a/notes-webapp/src/main/webapp/vue-app/notes-publication/components/NotePublicationDrawer.vue
+++ b/notes-webapp/src/main/webapp/vue-app/notes-publication/components/NotePublicationDrawer.vue
@@ -138,7 +138,7 @@
@@ -252,6 +253,10 @@ export default {
editMode: {
type: Boolean,
default: false
+ },
+ canPublish: {
+ type: Boolean,
+ default: false
}
},
watch: {
diff --git a/notes-webapp/src/main/webapp/vue-app/notes-rich-editor/components/NoteFullRichEditor.vue b/notes-webapp/src/main/webapp/vue-app/notes-rich-editor/components/NoteFullRichEditor.vue
index 4e312830d0..4afdafebb5 100644
--- a/notes-webapp/src/main/webapp/vue-app/notes-rich-editor/components/NoteFullRichEditor.vue
+++ b/notes-webapp/src/main/webapp/vue-app/notes-rich-editor/components/NoteFullRichEditor.vue
@@ -89,7 +89,7 @@
:note="noteObject"
:has-featured-image="hasFeaturedImage" />