From 9b57eb1060c09c9099cb01e01093db9e753fec91 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak <42989099+gtsteffaniak@users.noreply.github.com> Date: Wed, 18 Oct 2023 20:15:01 -0500 Subject: [PATCH] V0.2.1 - small bugfixes (#58) Co-authored-by: Graham Steffaniak --- frontend/src/App.vue | 10 +--------- frontend/src/components/Search.vue | 25 +++++++++++++++---------- frontend/src/components/Sidebar.vue | 2 +- frontend/src/views/Layout.vue | 2 +- frontend/src/views/files/Preview.vue | 2 +- 5 files changed, 19 insertions(+), 22 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 83193bb3..ccfcbe2d 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -9,15 +9,7 @@ __webpack_public_path__ = window.FileBrowser.StaticURL + "/"; export default { name: "app", - computed: { - }, - mounted() { - const loading = document.getElementById("loading"); - loading.classList.add("done"); - setTimeout(() => { - loading.parentNode.removeChild(loading); - }, 200); - }, + computed: {}, }; diff --git a/frontend/src/components/Search.vue b/frontend/src/components/Search.vue index 151bb814..b5a61ede 100644 --- a/frontend/src/components/Search.vue +++ b/frontend/src/components/Search.vue @@ -30,7 +30,7 @@
- Search Context: {{ getContext(this.$route.path) }} + Search Context: {{ this.searchContext }}
  • archive insert_drive_file - {{ basePath(s.path) }}{{ baseName(s.path) }} + {{ basePath(s.path,s.dir) }}{{ baseName(s.path) }}
  • @@ -91,7 +91,7 @@
-
Search Context: {{ getContext(this.$route.path) }}
+
Search Context: {{ this.searchContext }}