Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Fix prop name mismatch (#1070)
Olga Bulat841cf25197e9
diff --git a/src/components/VSearchGrid.vue b/src/components/VSearchGrid.vueindex 411451e48..30bc51c0d 100644--- a/src/components/VSearchGrid.vue+++ b/src/components/VSearchGrid.vue@@ -18,7 +18,7 @@<VMetaSearchFormv-if="!fetchState.isFetching":type="metaSearchFormType"- :has-no-result="hasNoResult"+ :has-no-results="hasNoResults":query="query":is-supported="isSupported"/>@@ -35,17 +35,23 @@import { computed } from '@nuxtjs/composition-api'import { ALL_MEDIA, IMAGE, supportedSearchTypes } from '~/constants/media'-import { NO_RESULT } from '~/constants/errors'import VMetaSearchForm from '~/components/VMetaSearch/VMetaSearchForm.vue'import VErrorSection from '~/components/VErrorSection/VErrorSection.vue'import VErrorImage from '~/components/VErrorSection/VErrorImage.vue'import VNoResults from '~/components/VErrorSection/VNoResults.vue'+import VSearchResultsTitle from '~/components/VSearchResultsTitle.vue'export default {name: 'VSearchGrid',- components: { VErrorSection, VMetaSearchForm, VErrorImage, VNoResults },+ components: {+ VErrorSection,+ VMetaSearchForm,+ VErrorImage,+ VNoResults,+ VSearchResultsTitle,+ },props: {supported: {type: Boolean,@@ -70,7 +76,7 @@ export default {},},setup(props) {- const hasNoResult = computed(() => {+ const hasNoResults = computed(() => {// noResult is hard-coded for search types that are not currently// supported by Openverse built-in searchreturn props.supported@@ -88,7 +94,7 @@ export default {})return {- hasNoResult,+ hasNoResults,isSupported,metaSearchFormType,isAllView,