|
748 | 748 | <ng-container *ngIf=" |
749 | 749 | (auth.loggedIn$ | async) && |
750 | 750 | TopicService.canEdit(topic) && |
751 | | - !topic.voteId |
| 751 | + !topic.voteId && |
| 752 | + !topic.ideationId |
752 | 753 | "> |
753 | 754 | <div class="line_separator"></div> |
754 | 755 | <button class="option" [routerLink]="['/', 'topics', 'edit', topic.id]"> |
|
765 | 766 | </ng-container> |
766 | 767 | <ng-container *ngIf=" |
767 | 768 | (auth.loggedIn$ | async) && |
| 769 | + TopicService.canEdit(topic) && |
768 | 770 | topic.ideationId && |
769 | 771 | !topic.voteId && |
770 | | - TopicService.canEdit(topic) && |
771 | 772 | [ |
772 | 773 | TopicService.STATUSES.draft, |
| 774 | + TopicService.STATUSES.inProgress, |
773 | 775 | TopicService.STATUSES.ideation, |
774 | 776 | TopicService.STATUSES.followUp |
775 | 777 | ].indexOf(topic.status) > -1 |
|
795 | 797 | </ng-container> |
796 | 798 | <ng-container *ngIf=" |
797 | 799 | (auth.loggedIn$ | async) && |
798 | | - topic.voteId && |
799 | 800 | TopicService.canEdit(topic) && |
| 801 | + topic.voteId && |
800 | 802 | [ |
801 | 803 | TopicService.STATUSES.draft, |
| 804 | + TopicService.STATUSES.inProgress, |
802 | 805 | TopicService.STATUSES.voting, |
803 | 806 | TopicService.STATUSES.followUp |
804 | 807 | ].indexOf(topic.status) > -1 |
|
1648 | 1651 | <ng-container *ngIf=" |
1649 | 1652 | (auth.loggedIn$ | async) && |
1650 | 1653 | TopicService.canEdit(topic) && |
1651 | | - !topic.voteId |
| 1654 | + !topic.voteId && |
| 1655 | + !topic.ideationId |
1652 | 1656 | "> |
1653 | 1657 | <div class="line_separator"></div> |
1654 | 1658 | <button class="option" [routerLink]="['/', 'topics', 'edit', topic.id]"> |
|
0 commit comments