From df1f44e8e622edc902de295f883ed5a41b3b703c Mon Sep 17 00:00:00 2001 From: Sage Abdullah Date: Fri, 8 Sep 2023 16:45:53 +0100 Subject: [PATCH] Update breadcrumbs.stories.tsx to page_breadcrumbs.stories.tsx --- ...crumbs.stories.tsx => page_breadcrumbs.stories.tsx} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename wagtail/admin/templates/wagtailadmin/shared/{breadcrumbs.stories.tsx => page_breadcrumbs.stories.tsx} (96%) diff --git a/wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.stories.tsx b/wagtail/admin/templates/wagtailadmin/shared/page_breadcrumbs.stories.tsx similarity index 96% rename from wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.stories.tsx rename to wagtail/admin/templates/wagtailadmin/shared/page_breadcrumbs.stories.tsx index 345a0b4966..ac8d34745e 100644 --- a/wagtail/admin/templates/wagtailadmin/shared/breadcrumbs.stories.tsx +++ b/wagtail/admin/templates/wagtailadmin/shared/page_breadcrumbs.stories.tsx @@ -4,7 +4,7 @@ import { Pattern, generateDocs } from 'storybook-django/src/react'; import { StimulusWrapper } from '../../../../../client/storybook/StimulusWrapper'; import { RevealController } from '../../../../../client/src/controllers/RevealController'; -import template from './breadcrumbs.html'; +import template from './page_breadcrumbs.html'; const { docs, argTypes } = generateDocs(template); @@ -30,7 +30,7 @@ export const Base = Template.bind({}); Base.args = { url_root_name: 'wagtailadmin_explore_root', url_name: 'wagtailadmin_explore', - pages: [ + items: [ { is_root: true, id: 2, @@ -48,7 +48,7 @@ export const WithTrailingTitle = Template.bind({}); WithTrailingTitle.args = { url_root_name: 'wagtailadmin_explore_root', url_name: 'wagtailadmin_explore', - pages: [ + items: [ { is_root: true, id: 2, @@ -75,7 +75,7 @@ export const MultipleItems = Template.bind({}); MultipleItems.args = { url_root_name: 'wagtailadmin_explore_root', url_name: 'wagtailadmin_explore', - pages: [ + items: [ { is_root: true, id: 2, @@ -110,7 +110,7 @@ Expanded.args = { url_root_name: 'wagtailadmin_explore_root', url_name: 'wagtailadmin_explore', is_expanded: 'True', - pages: [ + items: [ { is_root: true, id: 2,