@worksafevictoria/wcl7.5 1.1.0-beta.109 → 1.1.0-beta.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
v-model="searchQuery"
|
|
17
17
|
name="search"
|
|
18
18
|
aria-label="searchbar"
|
|
19
|
-
debounce="600"
|
|
20
19
|
autocomplete="off"
|
|
21
20
|
trim
|
|
22
21
|
@update="searchType !== 'googlerest' ? onChange : () => {}"
|
|
@@ -58,6 +57,7 @@ import searchIcon from '../../../assets/icons/search.svg?url'
|
|
|
58
57
|
import SearchListing from './SearchListing/index.vue'
|
|
59
58
|
import { BButton, BInputGroup, BFormInput } from 'bootstrap-vue-next'
|
|
60
59
|
|
|
60
|
+
|
|
61
61
|
export default {
|
|
62
62
|
components: { SearchListing, BButton, BInputGroup, BFormInput },
|
|
63
63
|
props: {
|
|
@@ -235,8 +235,11 @@ export default {
|
|
|
235
235
|
}
|
|
236
236
|
},
|
|
237
237
|
onSearch(e) {
|
|
238
|
+
// debugger
|
|
238
239
|
const { path } = this.$route || {}
|
|
239
240
|
|
|
241
|
+
|
|
242
|
+
|
|
240
243
|
// Home page
|
|
241
244
|
if (
|
|
242
245
|
(e?.type === 'click' || e?.key == 'Enter') &&
|
|
@@ -279,6 +282,8 @@ export default {
|
|
|
279
282
|
}
|
|
280
283
|
},
|
|
281
284
|
onChange(e) {
|
|
285
|
+
//debugger
|
|
286
|
+
|
|
282
287
|
if (this.searchQuery && this.searchQuery.length > 2) {
|
|
283
288
|
this.onSearch(e)
|
|
284
289
|
}
|
|
@@ -741,4 +746,4 @@ export default {
|
|
|
741
746
|
width: 85% !important;
|
|
742
747
|
}
|
|
743
748
|
}
|
|
744
|
-
</style>
|
|
749
|
+
</style>
|