diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index d2fab615..659d4150 100644 --- a/src/views/DiscoverView.vue +++ b/src/views/DiscoverView.vue @@ -30,7 +30,10 @@
  • Nearby @@ -44,7 +47,10 @@ Remote - + 0 && payload) { + const latestProject = this.projects[this.projects.length - 1]; + console.log("rowid", latestProject, payload); + console.log(Object.keys(latestProject)); + if (this.isLocalActive) { + this.searchLocal(latestProject["rowid"]); + } else if (this.isRemoteActive) { + this.search(latestProject["rowid"]); + } + } + } + /** * Handle clicking on a project entry found in the list * @param id of the project