diff --git a/resources/assets/js/components/PostComponent.vue b/resources/assets/js/components/PostComponent.vue index c7378d727..c0c157106 100644 --- a/resources/assets/js/components/PostComponent.vue +++ b/resources/assets/js/components/PostComponent.vue @@ -159,10 +159,11 @@
shares - @@ -895,6 +896,22 @@ export default { } }, + visibilityModal() { + switch(this.status.visibility) { + case 'public': + swal('Public Post', 'This post is visible to everyone.', 'info'); + break; + + case 'unlisted': + swal('Unlisted Post', 'This post is visible on profiles and with a direct links. It is not displayed on timelines.', 'info'); + break; + + case 'private': + swal('Private Post', 'This post is only visible to followers.', 'info'); + break; + } + } + }, }