generated from Seekra/repository-template
chore(search-results): clean up unused search props and imports
This commit is contained in:
@@ -15,22 +15,13 @@ limitations under the License.
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import Searchbar from '@/features/nav/components/Searchbar-SearchResults.vue';
|
|
||||||
|
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
|
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
const props = defineProps(['searchQuery']);
|
|
||||||
|
|
||||||
const searchQueryModel = defineModel();
|
|
||||||
searchQueryModel.value = props.searchQuery;
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="main-content-padding">
|
<div class="main-content-padding">
|
||||||
<Searchbar class="search-bar" v-model="searchQueryModel" auto-submit />
|
|
||||||
|
|
||||||
<div class="search-results-error-message-container">
|
<div class="search-results-error-message-container">
|
||||||
<div class="search-results-error-message">
|
<div class="search-results-error-message">
|
||||||
<p>{{ t('search.error.searchNotAvailable') }}</p>
|
<p>{{ t('search.error.searchNotAvailable') }}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user