Skip to content

Commit

Permalink
Merge pull request #1716 from nextcloud/bugfix/noid/fix-ncrichtext-re…
Browse files Browse the repository at this point in the history
…placement

fix(UI): Fix NcRichText usage
  • Loading branch information
nickvergessen authored Nov 14, 2023
2 parents 3eefb1e + 646c4ba commit 9a8f93a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions js/notifications-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/notifications-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Components/Notification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
</a>
<a v-else-if="useLink" :href="link" class="notification-subject full-subject-link">
<span v-if="icon" class="image"><img :src="icon" class="notification-icon" alt=""></span>
<RichText v-if="subjectRich"
<NcRichText v-if="subjectRich"
:text="subjectRich"
:arguments="preparedSubjectParameters" />
<span v-else class="subject">{{ subject }}</span>
</a>
<div v-else class="notification-subject">
<span v-if="icon" class="image"><img :src="icon" class="notification-icon" alt=""></span>
<RichText v-if="subjectRich"
<NcRichText v-if="subjectRich"
:text="subjectRich"
:arguments="preparedSubjectParameters" />
<span v-else class="subject">{{ subject }}</span>
Expand Down

0 comments on commit 9a8f93a

Please sign in to comment.