|
|
@@ -91,6 +91,7 @@ const isSecondStageRenderingCondition = (condition: RenderingCondition|SecondSta
|
|
|
type ItemsTreeProps = {
|
|
|
isEnableActions: boolean
|
|
|
isReadOnlyUser: boolean
|
|
|
+ isWipPageShown?: boolean
|
|
|
targetPath: string
|
|
|
targetPathOrId?: Nullable<string>
|
|
|
targetAndAncestorsData?: TargetAndAncestors
|
|
|
@@ -103,7 +104,7 @@ type ItemsTreeProps = {
|
|
|
*/
|
|
|
export const ItemsTree = (props: ItemsTreeProps): JSX.Element => {
|
|
|
const {
|
|
|
- targetPath, targetPathOrId, targetAndAncestorsData, isEnableActions, isReadOnlyUser, CustomTreeItem, onClickTreeItem,
|
|
|
+ targetPath, targetPathOrId, targetAndAncestorsData, isEnableActions, isReadOnlyUser, isWipPageShown, CustomTreeItem, onClickTreeItem,
|
|
|
} = props;
|
|
|
|
|
|
const { t } = useTranslation();
|
|
|
@@ -281,6 +282,7 @@ export const ItemsTree = (props: ItemsTreeProps): JSX.Element => {
|
|
|
itemNode={initialItemNode}
|
|
|
isOpen
|
|
|
isEnableActions={isEnableActions}
|
|
|
+ isWipPageShown={isWipPageShown}
|
|
|
isReadOnlyUser={isReadOnlyUser}
|
|
|
onRenamed={onRenamed}
|
|
|
onClickDuplicateMenuItem={onClickDuplicateMenuItem}
|