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

View file

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