File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
packages/documentation-framework/components/sectionGallery Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -70,24 +70,19 @@ export const SectionGalleryWrapper = ({
7070 const id = itemData . id || title ;
7171 // Display beta label if tab other than a '-next' tab is marked Beta
7272 const isDeprecated =
73+ // TODO: remove hardcoded Tile when Core PR merges
74+ // https://github.com/patternfly/patternfly/pull/7178
75+ id === 'Tile' || (
7376 ! isSubsection &&
7477 sources &&
7578 sources . some (
7679 ( source ) =>
77- ( source . source === 'react-deprecated' ||
78- source . source === 'html-deprecated' ) &&
79- // TODO: remove hardcoded Tile when Core PR merges
80- // https://github.com/patternfly/patternfly/pull/7178
81- ( source . id === 'Tile' ||
82- ! sources . some (
83- ( source ) =>
84- source . source === 'react' ||
85- source . source === 'html'
86- ) )
80+ source . source === 'react-deprecated' ||
81+ source . source === 'html-deprecated'
8782 ) &&
8883 ! sources . some (
8984 ( source ) => source . source === 'react' || source . source === 'html'
90- ) ;
85+ ) ) ;
9186 const isBeta =
9287 ! isSubsection &&
9388 sources &&
You can’t perform that action at this time.
0 commit comments