diff options
author | vnugent <public@vaughnnugent.com> | 2023-12-22 01:30:01 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-12-22 01:30:01 -0500 |
commit | ad28175287c1a5df9b715c0755ed040985314960 (patch) | |
tree | 8d93b67e277ef8ab26c02c44e62b06c58eaae8c0 /front-end/src | |
parent | af67dab96747c7d83380e67de91dd25f46e9681f (diff) |
integrate big package updates prep for release
Diffstat (limited to 'front-end/src')
-rw-r--r-- | front-end/src/views/Blog/components/Channels/ChannelEdit.vue | 4 | ||||
-rw-r--r-- | front-end/src/views/Blog/components/Posts.vue | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/front-end/src/views/Blog/components/Channels/ChannelEdit.vue b/front-end/src/views/Blog/components/Channels/ChannelEdit.vue index 0363746..f27aaaf 100644 --- a/front-end/src/views/Blog/components/Channels/ChannelEdit.vue +++ b/front-end/src/views/Blog/components/Channels/ChannelEdit.vue @@ -9,7 +9,7 @@ <div class="mx-auto"> <h4 v-if="editMode" class="text-center">Edit Channel</h4> <h4 v-else class="text-center">Create Channel</h4> - <p> + <p class="text-sm"> Your root directory and index file name must be unique within your S3 bucket. </p> </div> @@ -31,7 +31,7 @@ <div class="max-w-xl mx-auto mt-6"> <h4 v-if="editMode" class="text-center">Edit Feed</h4> <h4 v-else class="text-center">Create Feed</h4> - <p> + <p class="text-sm"> Optionally define the rss feed for this channel. If you do not configure the feed, posts to this channel will not be published to an rss feed, you may configure this feed at any time. </p> diff --git a/front-end/src/views/Blog/components/Posts.vue b/front-end/src/views/Blog/components/Posts.vue index f07e576..5c345f4 100644 --- a/front-end/src/views/Blog/components/Posts.vue +++ b/front-end/src/views/Blog/components/Posts.vue @@ -39,16 +39,20 @@ const { items, pagination } = store.posts.createPages(); //Open with the post id const openEdit = async (post: PostMeta) => store.posts.selectedId = post.id; +const refresh = () => { + store.posts.refresh(); + store.content.refresh(); +} + const closeEdit = (update?: boolean) => { store.posts.selectedId = '' //reload channels if (update) { //must refresh content and posts when a post is updated - store.posts.refresh() - store.content.refresh() + refresh(); } //Reset page to top - window.scrollTo(0, 0) + window.scrollTo(0, 0); } const openNew = () => { @@ -95,7 +99,7 @@ const onSubmit = async ({post, content } : { post: PostMeta, content: string }) }) }) } - //Notify error state + refresh(); } const onDelete = async (post: PostMeta) => { |