Skip to content

Commit

Permalink
fixed minor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
cremertim committed Jan 24, 2025
1 parent a8eb533 commit 254aabf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h4 class="modal-title">{{ modalTitle | artemisTranslate }}</h4>
</div>
<div class="modal-body">
<!-- info if announcement is created-->
@if (this.editType === EditType.CREATE && isCommunicationPage && getAsChannel(posting.conversation)?.isAnnouncementChannel) {
@if (this.editType === EditType.CREATE && isCommunicationPage() && getAsChannel(posting.conversation)?.isAnnouncementChannel) {
<div class="alert alert-warning" jhiTranslate="artemisApp.metis.post.announcementHint"></div>
}
<!-- title -->
Expand All @@ -20,7 +20,7 @@ <h4 class="modal-title">{{ modalTitle | artemisTranslate }}</h4>
</div>
</div>
<!-- tags -->
@if (pageType !== PageType.PLAGIARISM_CASE_INSTRUCTOR && pageType !== PageType.PLAGIARISM_CASE_STUDENT && !isCommunicationPage && !posting.conversation) {
@if (pageType !== PageType.PLAGIARISM_CASE_INSTRUCTOR && pageType !== PageType.PLAGIARISM_CASE_STUDENT && !isCommunicationPage() && !posting.conversation) {
<div class="position-relative mb-3">
<div>
<label jhiTranslate="artemisApp.metis.post.tags"></label>
Expand Down

0 comments on commit 254aabf

Please sign in to comment.