From a69a310ff0c43f5c00cef48cacc5b199334dd510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Tue, 26 Jan 2021 09:54:07 +0100 Subject: [PATCH] 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. --- .../generic/SearchableInput/SearchableInput.story.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/components/generic/SearchableInput/SearchableInput.story.js b/webapp/components/generic/SearchableInput/SearchableInput.story.js index 2c51fabbf..0b4a2234c 100644 --- a/webapp/components/generic/SearchableInput/SearchableInput.story.js +++ b/webapp/components/generic/SearchableInput/SearchableInput.story.js @@ -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: ` - + `, }))