Browse Source
feat: Update src/views/components/NewsletterList.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
pull/204/head
Aldino Kemal
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
3 deletions
-
src/views/components/NewsletterList.js
|
|
@ -101,9 +101,9 @@ export default { |
|
|
<tbody v-if="newsletters != null"> |
|
|
<tbody v-if="newsletters != null"> |
|
|
<tr v-for="n in newsletters"> |
|
|
<tr v-for="n in newsletters"> |
|
|
<td>{{ n.id.split('@')[0] }}</td> |
|
|
<td>{{ n.id.split('@')[0] }}</td> |
|
|
<td>{{ n.thread_metadata.name.text }}</td> |
|
|
|
|
|
<td>{{ n.viewer_metadata.role }}</td> |
|
|
|
|
|
<td>{{ formatDate(n.thread_metadata.creation_time) }}</td> |
|
|
|
|
|
|
|
|
<td>{{ n.thread_metadata?.name?.text || 'N/A' }}</td> |
|
|
|
|
|
<td>{{ n.viewer_metadata?.role || 'N/A' }}</td> |
|
|
|
|
|
<td>{{ formatDate(n.thread_metadata?.creation_time) }}</td> |
|
|
<td> |
|
|
<td> |
|
|
<button class="ui red tiny button" @click="handleUnfollowNewsletter(n.id)">Unfollow</button> |
|
|
<button class="ui red tiny button" @click="handleUnfollowNewsletter(n.id)">Unfollow</button> |
|
|
</td> |
|
|
</td> |
|
|
|