Pārlūkot izejas kodu

Allow all stories within subfolders of shared templates to appear in the same section

Thibaud Colas 1 gadu atpakaļ
vecāks
revīzija
f985262959
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      client/storybook/main.js

+ 1 - 1
client/storybook/main.js

@@ -5,7 +5,7 @@ module.exports = {
     {
       directory: '../../wagtail/admin/templates/wagtailadmin/shared/',
       titlePrefix: 'Shared',
-      files: '*.stories.*',
+      files: '**/*.stories.*',
     },
     '../../wagtail/**/*.stories.*',
   ],