fix(sharepostmodal): only show the share warning message if the post is accessible by link

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-05-26 17:57:52 +02:00
parent 779812c746
commit 8e626dce78
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
>
<o-notification
variant="warning"
v-if="post.visibility !== PostVisibility.PUBLIC"
v-if="post.visibility === PostVisibility.UNLISTED"
:closable="false"
>
{{