diff --git a/.storybook/main.js b/.storybook/main.js index 3882965b0..b749e262d 100644 --- a/.storybook/main.js +++ b/.storybook/main.js @@ -8,8 +8,7 @@ const custom = require('../config/webpack/environment'); module.exports = { stories: [ '../stories/**/*.stories.mdx', - '../app/javascript/dashboard/components/ui/stories/**/*.stories.@(js|jsx|ts|tsx)', - '../stories/**/*.stories.@(js|jsx|ts|tsx)', + '../app/javascript/**/*.stories.@(js|jsx|ts|tsx)', ], addons: [ { diff --git a/stories/Module/AddNote.stories.js b/app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.stories.js similarity index 80% rename from stories/Module/AddNote.stories.js rename to app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.stories.js index d8d0c6641..6dc059167 100644 --- a/stories/Module/AddNote.stories.js +++ b/app/javascript/dashboard/routes/dashboard/contacts/components/AddNote.stories.js @@ -1,5 +1,5 @@ import { action } from '@storybook/addon-actions'; -import AddNote from '../../app/javascript/dashboard/routes/dashboard/contacts/components/AddNote'; +import AddNote from './AddNote.vue'; export default { title: 'Components/Notes/Add', diff --git a/stories/Module/ContactNote.stories.js b/app/javascript/dashboard/routes/dashboard/contacts/components/ContactNote.stories.js similarity index 90% rename from stories/Module/ContactNote.stories.js rename to app/javascript/dashboard/routes/dashboard/contacts/components/ContactNote.stories.js index c9c451d5d..26d38712f 100644 --- a/stories/Module/ContactNote.stories.js +++ b/app/javascript/dashboard/routes/dashboard/contacts/components/ContactNote.stories.js @@ -1,5 +1,5 @@ import { action } from '@storybook/addon-actions'; -import ContactNote from '../../app/javascript/dashboard/routes/dashboard/contacts/components/ContactNote'; +import ContactNote from './ContactNote.vue'; export default { title: 'Components/Notes/Note',