Skip to content

Commit

Permalink
WIP - show theme IDs not in the DB anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
RalkeyOfficial committed Nov 1, 2024
1 parent 37b701e commit 0cc526f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/views/publications/PublicationDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ export default {
filteredThemes() {
return themeStore.themeList.filter((theme) => this.publication?.themes?.includes(theme.id))
},
missingThemes() { // themes (id's)- which are on the publication but do not exist on the themeList
return this.publication?.themes?.filter((themeId) => !themeStore.themeList.map((theme) => theme.id).includes(themeId))
},
},
watch: {
publicationItem: {
Expand Down

0 comments on commit 0cc526f

Please sign in to comment.