|
@@ -230,7 +230,7 @@ const PageRenameModal = (props) => {
|
|
|
type="button"
|
|
type="button"
|
|
|
className="btn btn-primary"
|
|
className="btn btn-primary"
|
|
|
onClick={rename}
|
|
onClick={rename}
|
|
|
- disabled={(isRenameRecursively && isRenameRecursivelyWithoutExistPath && existingPaths.length !== 0)}
|
|
|
|
|
|
|
+ disabled={(isRenameRecursively && !isRenameRecursivelyWithoutExistPath && existingPaths.length !== 0)}
|
|
|
>Rename
|
|
>Rename
|
|
|
</button>
|
|
</button>
|
|
|
</ModalFooter>
|
|
</ModalFooter>
|