Skip to content

Commit 054c7de

Browse files
authored
Merge pull request #2281 from citizenos/#1712
Chore: TOPIC: With 1 Discussion topic, the Edit button is not visible [#1712]
2 parents 8182daa + acabab7 commit 054c7de

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/app/topic/topic.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -748,8 +748,7 @@
748748
<ng-container *ngIf="
749749
(auth.loggedIn$ | async) &&
750750
TopicService.canEdit(topic) &&
751-
!topic.voteId &&
752-
!topic.ideationId
751+
!topic.voteId
753752
">
754753
<div class="line_separator"></div>
755754
<button class="option" [routerLink]="['/', 'topics', 'edit', topic.id]">
@@ -1649,8 +1648,7 @@
16491648
<ng-container *ngIf="
16501649
(auth.loggedIn$ | async) &&
16511650
TopicService.canEdit(topic) &&
1652-
!topic.voteId &&
1653-
!topic.ideationId
1651+
!topic.voteId
16541652
">
16551653
<div class="line_separator"></div>
16561654
<button class="option" [routerLink]="['/', 'topics', 'edit', topic.id]">

0 commit comments

Comments
 (0)