mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Merge pull request #11497 from storybookjs/fix/composition-empty-versions
Composition: Don't show versions dropdown if there are no versions
This commit is contained in:
commit
6c0e00522d
@ -192,7 +192,7 @@ export const RefIndicator = forwardRef<
|
||||
</IndicatorClickTarget>
|
||||
</WithTooltip>
|
||||
|
||||
{ref.versions ? (
|
||||
{ref.versions && Object.keys(ref.versions).length ? (
|
||||
<WithTooltip
|
||||
placement="bottom-start"
|
||||
trigger="click"
|
||||
|
Loading…
x
Reference in New Issue
Block a user