Commit ede90bf6 authored by dindigala's avatar dindigala
Browse files

refactor: addressing review comments

parent 49dff10e
Pipeline #234462 passed with stages
in 2 minutes and 19 seconds
......@@ -34,7 +34,7 @@
>
<a
:class="$q.dark.isActive ? 'text-dark' : 'text-white'"
:href="`${redirectUrl}${searchPageUrl}?${searchQueryParam}=${searchTerm}&page=${page}`"
:href="`${redirectUrl}${searchPagePath}?${searchQueryParam}=${searchTerm}&page=${page}`"
class="header-links"
>
<q-icon
......@@ -74,8 +74,8 @@ export default {
return this.$route.query.redirectUrl || this.config.breadcrumbNavigation.website;
},
searchPageUrl() {
return this.config.breadcrumbNavigation.search_page || '';
searchPagePath() {
return this.config.breadcrumbNavigation.search_page_path || '';
},
searchQueryParam() {
......
......@@ -63,7 +63,7 @@
},
"breadcrumbNavigation": {
"source": "external",
"search_page": "search.html",
"search_page_path": "search.html",
"search_query_param": "searchTerm",
"title_homepage_key": "title_homepage",
"title_viewer_key": "title_viewer",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment