mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
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:
parent
cf9eafa2eb
commit
a69a310ff0
@ -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" />
|
||||
`,
|
||||
}))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user