Skip to content

Commit

Permalink
Fix VErrorSection.stories.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed Aug 2, 2023
1 parent 5b105ae commit 473ec94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/VErrorSection/VServerTimeout.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="server-timeout">
<h4 class="text-5xl">{{ $t("server-timeout.heading") }}</h4>
<h4 class="text-5xl">{{ $t("serverTimeout.heading") }}</h4>
</div>
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const NoResultsTemplate = (args) => ({
<template #image>
<VErrorImage :error-code="args.errorCode" />
</template>
<VNoResults :media-type="args.type" :query="args.query" :search-term="args.query.q" :external-sources=[] />
<VNoResults :media-type="args.type" :search-term="args.searchTerm" :external-sources=[] />
</VErrorSection>
`,
components: { VErrorSection, VErrorImage, VNoResults },
Expand All @@ -47,12 +47,7 @@ export const NoResultsTemplate = (args) => ({
args={{
errorCode: NO_RESULT,
type: "image",
query: {
license: "",
license_type: "",
[INCLUDE_SENSITIVE_QUERY_PARAM]: false,
q: "sad person",
},
searchTerm: "sad person",
}}
>
{NoResultsTemplate.bind({})}
Expand Down

0 comments on commit 473ec94

Please sign in to comment.