aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/post
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/components/post')
-rw-r--r--src/app/components/post/post.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/components/post/post.component.html b/src/app/components/post/post.component.html
index 1831c5e..db0a7c4 100644
--- a/src/app/components/post/post.component.html
+++ b/src/app/components/post/post.component.html
@@ -58,7 +58,7 @@
</summary>
</section>
<section class="flex-row justify-children-center flex-center-align-children">
- <button class="padding-small lighter-hover click-effect border-radius-smaller" (click)="toggleEditing()">
+ <button class="padding-small lighter-hover click-effect border-radius-smaller" *ngIf="loggedInAuthor" (click)="toggleEditing()">
<img src="/assets/icons/tabler-icon-edit.svg">
</button>
<button class="flexible padding-small lighter-hover click-effect border-radius-smaller" (click)="goToPostPage()">
@@ -69,7 +69,7 @@
<img src="/assets/icons/tabler-icon-link.svg">
&nbsp;Share
</button>
- <button class="padding-small lighter-hover click-effect border-radius-smaller" (click)="deletePost()">
+ <button class="padding-small lighter-hover click-effect border-radius-smaller" *ngIf="loggedInAuthor" (click)="deletePost()">
<img src="/assets/icons/tabler-icon-trash.svg">
</button>
</section>