From 1d362c314bce7311f43bf92b291735a69960a013 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 11 Jul 2023 18:31:58 +0800 Subject: [PATCH] Beginning of integration. Seems the data coming back from local and remote are different? --- src/views/DiscoverView.vue | 119 ++++++++++++++++++++++++++----------- 1 file changed, 84 insertions(+), 35 deletions(-) diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index d2fab6153..659d41508 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