Skip to content

Commit 44e1840

Browse files
authored
Merge pull request #2296 from citizenos/#1712
#1712
2 parents 9954dd6 + 3a06666 commit 44e1840

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/topic/topic.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,11 +766,12 @@
766766
</ng-container>
767767
<ng-container *ngIf="
768768
(auth.loggedIn$ | async) &&
769+
TopicService.canEdit(topic) &&
769770
topic.ideationId &&
770771
!topic.voteId &&
771-
TopicService.canEdit(topic) &&
772772
[
773773
TopicService.STATUSES.draft,
774+
TopicService.STATUSES.inProgress,
774775
TopicService.STATUSES.ideation,
775776
TopicService.STATUSES.followUp
776777
].indexOf(topic.status) > -1
@@ -796,10 +797,11 @@
796797
</ng-container>
797798
<ng-container *ngIf="
798799
(auth.loggedIn$ | async) &&
799-
topic.voteId &&
800800
TopicService.canEdit(topic) &&
801+
topic.voteId &&
801802
[
802803
TopicService.STATUSES.draft,
804+
TopicService.STATUSES.inProgress,
803805
TopicService.STATUSES.voting,
804806
TopicService.STATUSES.followUp
805807
].indexOf(topic.status) > -1

0 commit comments

Comments
 (0)