Skip to content

Commit

Permalink
MappingBrowser: Small improvement to computed props (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Nov 19, 2021
1 parent 8a39d28 commit 5ca2cd5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/MappingBrowser.vue
Original file line number Diff line number Diff line change
Expand Up @@ -696,11 +696,14 @@ export default {
searchSections () {
return this.resultsToSections(this.searchResults, this.searchPages, this.searchLoading, "mappingSearch-")
},
navigatorSections() {
return this.resultsToSections(this.navigatorResults, this.navigatorPages, this.navigatorLoading, "mappingNavigator-")
},
navigatorSectionsDatabases () {
return this.resultsToSections(this.navigatorResults, this.navigatorPages, this.navigatorLoading, "mappingNavigator-").filter(section => this.$jskos.mappingRegistryIsStored(section.registry))
return this.navigatorSections.filter(section => this.$jskos.mappingRegistryIsStored(section.registry))
},
navigatorSectionsRecommendations () {
return this.resultsToSections(this.navigatorResults, this.navigatorPages, this.navigatorLoading, "mappingNavigator-").filter(section => !this.$jskos.mappingRegistryIsStored(section.registry))
return this.navigatorSections.filter(section => !this.$jskos.mappingRegistryIsStored(section.registry))
},
searchShareLink () {
let url = this.searchShareIncludeSelected ? window.location.href : window.location.href.split("?")[0]
Expand Down

0 comments on commit 5ca2cd5

Please sign in to comment.