From da51e6e3c185e4d11d50679fd0deaa804b07511c Mon Sep 17 00:00:00 2001 From: Celian-abd <101793092+Celian-abd@users.noreply.github.com> Date: Tue, 13 May 2025 17:24:25 +0200 Subject: [PATCH] fix: Added missing export for LayoutSelector in ui-next (#5040) --- extensions/default/src/Toolbar/ToolbarLayoutSelector.tsx | 2 +- platform/ui-next/src/components/index.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/default/src/Toolbar/ToolbarLayoutSelector.tsx b/extensions/default/src/Toolbar/ToolbarLayoutSelector.tsx index 7d314b0cc..4c87dade2 100644 --- a/extensions/default/src/Toolbar/ToolbarLayoutSelector.tsx +++ b/extensions/default/src/Toolbar/ToolbarLayoutSelector.tsx @@ -3,7 +3,7 @@ import React, { useCallback } from 'react'; import PropTypes from 'prop-types'; import { CommandsManager } from '@ohif/core'; -import { LayoutSelector } from '../../../../platform/ui-next/src/components/LayoutSelector'; +import { LayoutSelector } from '@ohif/ui-next'; function ToolbarLayoutSelectorWithServices({ commandsManager, diff --git a/platform/ui-next/src/components/index.ts b/platform/ui-next/src/components/index.ts index 8c1eae9d8..5fc7af790 100644 --- a/platform/ui-next/src/components/index.ts +++ b/platform/ui-next/src/components/index.ts @@ -117,6 +117,7 @@ import { ToolButtonListItem, ToolButtonListDivider, } from './ToolButton'; +import { LayoutSelector } from './LayoutSelector'; import { ToolSettings } from './OHIFToolSettings'; export { DataRow } from './DataRow'; export { MeasurementTable } from './MeasurementTable'; @@ -268,4 +269,5 @@ export { ProgressLoadingBar, ViewportDialog, CinePlayer, + LayoutSelector };