diff --git a/js/src/assets/oruga-tailwindcss.css b/js/src/assets/oruga-tailwindcss.css index 4310f3579..5924b0965 100644 --- a/js/src/assets/oruga-tailwindcss.css +++ b/js/src/assets/oruga-tailwindcss.css @@ -266,7 +266,7 @@ button.menubar__button { @apply px-3 dark:text-black; } .pagination-link-current { - @apply bg-primary cursor-not-allowed pointer-events-none border-primary text-white; + @apply bg-primary cursor-not-allowed pointer-events-none border-primary text-white dark:text-zinc-900; } .pagination-ellipsis { @apply text-center m-1 text-gray-300; diff --git a/js/src/components/Post/SharePostModal.vue b/js/src/components/Post/SharePostModal.vue index d784646d6..16b1813e3 100644 --- a/js/src/components/Post/SharePostModal.vue +++ b/js/src/components/Post/SharePostModal.vue @@ -2,7 +2,7 @@ {{ - $t( + t( "This post is accessible only through it's link. Be careful where you post this link." ) }} @@ -22,29 +22,14 @@ + diff --git a/js/src/composition/apollo/group.ts b/js/src/composition/apollo/group.ts index 63c238ebe..0483d5872 100644 --- a/js/src/composition/apollo/group.ts +++ b/js/src/composition/apollo/group.ts @@ -55,7 +55,10 @@ export function useGroup( name: unref(name), ...options, }), - () => ({ enabled: unref(name) !== undefined && unref(name) !== "" }) + () => ({ + enabled: unref(name) !== undefined && unref(name) !== "", + fetchPolicy: "cache-and-network", + }) ); const group = computed(() => result.value?.group); return { group, error, loading, onResult, onError, refetch }; diff --git a/js/src/views/Posts/EditView.vue b/js/src/views/Posts/EditView.vue index 51877895b..d92a6df0b 100644 --- a/js/src/views/Posts/EditView.vue +++ b/js/src/views/Posts/EditView.vue @@ -43,6 +43,7 @@ :aria-label="t('Post body')" :current-actor="currentActor" :placeholder="t('Write your post')" + :headingLevel="[2, 3, 4]" />

{{ t("Who can view this post") }}

diff --git a/js/src/views/Posts/PostView.vue b/js/src/views/Posts/PostView.vue index 8ec1b0fb6..bcb2332e1 100644 --- a/js/src/views/Posts/PostView.vue +++ b/js/src/views/Posts/PostView.vue @@ -1,22 +1,38 @@