Refactor SearchInput.vue storybook, but couldn't fix it

- If I run 'yarn storybook' and chose 'SearchInput' the error 'undefined is not an object (evaluating '$i18n.locale')' still occurs.
This commit is contained in:
Wolfgang Huß 2021-01-26 09:54:07 +01:00
parent cf9eafa2eb
commit a69a310ff0

View File

@ -112,7 +112,7 @@ export const searchResults = [
},
]
storiesOf('Search Field', module)
storiesOf('SearchableInput', module)
.addDecorator(withA11y)
.addDecorator(helpers.layout)
.add('test', () => ({
@ -122,6 +122,6 @@ storiesOf('Search Field', module)
searchResults,
}),
template: `
<searchable-input :options="searchResults" />
<searchable-input :loading="false" :options="searchResults" />
`,
}))