|
@@ -173,6 +173,7 @@ const PageRenameModal = (props) => {
|
|
|
{ t('modal_rename.label.Recursively') }
|
|
{ t('modal_rename.label.Recursively') }
|
|
|
<p className="form-text text-muted mt-0">{ t('modal_rename.help.recursive') }</p>
|
|
<p className="form-text text-muted mt-0">{ t('modal_rename.help.recursive') }</p>
|
|
|
</label>
|
|
</label>
|
|
|
|
|
+ {existingPaths.length !== 0 && (
|
|
|
<div
|
|
<div
|
|
|
className="custom-control custom-checkbox custom-checkbox-warning"
|
|
className="custom-control custom-checkbox custom-checkbox-warning"
|
|
|
style={{ display: isRenameRecursively ? '' : 'none' }}
|
|
style={{ display: isRenameRecursively ? '' : 'none' }}
|
|
@@ -189,6 +190,7 @@ const PageRenameModal = (props) => {
|
|
|
{ t('modal_rename.label.Rename without exist path') }
|
|
{ t('modal_rename.label.Rename without exist path') }
|
|
|
</label>
|
|
</label>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+)}
|
|
|
{isRenameRecursively && <ComparePathsTable subordinatedPages={subordinatedPages} newPagePath={pageNameInput} />}
|
|
{isRenameRecursively && <ComparePathsTable subordinatedPages={subordinatedPages} newPagePath={pageNameInput} />}
|
|
|
{isRenameRecursively && existingPaths.length !== 0 && <DuplicatedPathsTable existingPaths={existingPaths} oldPagePath={pageNameInput} />}
|
|
{isRenameRecursively && existingPaths.length !== 0 && <DuplicatedPathsTable existingPaths={existingPaths} oldPagePath={pageNameInput} />}
|
|
|
</div>
|
|
</div>
|