From f4cd88d46cdaf29d62f68bd0203153a5911ea60c Mon Sep 17 00:00:00 2001 From: Gabz047 Date: Fri, 27 Sep 2024 09:15:57 -0300 Subject: [PATCH] FEAT: Created function to filter supporting_material by name with jaotarzan #54 --- dev-dist/sw.js | 2 +- src/components/portal/search/SearchBar.vue | 6 ++++- .../portal/search/SearchResults.vue | 27 ++++++------------- .../supporting_material/supporting.js | 10 +++++++ src/stores/supporting_material/supporting.js | 20 ++++++++++++-- src/views/portal/ContentView.vue | 17 ++++++++++-- 6 files changed, 57 insertions(+), 25 deletions(-) diff --git a/dev-dist/sw.js b/dev-dist/sw.js index d58da3c..5375db2 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-b5f7729d'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.nm7nap27a68" + "revision": "0.hsrqo6c7ha" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/components/portal/search/SearchBar.vue b/src/components/portal/search/SearchBar.vue index 3fc7178..b49227b 100644 --- a/src/components/portal/search/SearchBar.vue +++ b/src/components/portal/search/SearchBar.vue @@ -3,13 +3,17 @@ import ContainerGlobal from '@/components/layout/ContainerGlobal.vue' import { ref } from 'vue'; const history = ref('Pulmão de Cachorro') +const name = ref('') +const emits = defineEmits([ + 'search' +])