From ed5b93cd74ca23aed60758d7e8730151d3c5da71 Mon Sep 17 00:00:00 2001 From: sijumoncy <72241997+sijumoncy@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:19:51 +0530 Subject: [PATCH] rtl support for merge conflcit ui --- .../layouts/projects/Import/ConflictEditor.jsx | 15 ++++++++++++--- .../projects/Import/ConflictResolverUI.jsx | 1 + 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/renderer/src/layouts/projects/Import/ConflictEditor.jsx b/renderer/src/layouts/projects/Import/ConflictEditor.jsx index fe9abb35a..fb58abfe4 100644 --- a/renderer/src/layouts/projects/Import/ConflictEditor.jsx +++ b/renderer/src/layouts/projects/Import/ConflictEditor.jsx @@ -4,7 +4,7 @@ import { useTranslation } from 'react-i18next'; import ConflictSection from './ConflictSection'; function ConflictEditor({ - selectedFileContent, setSelectedFileContent, selectedFileName, FileContentOrginal, setEnableSave, resolvedFileNames, + selectedFileContent, setSelectedFileContent, selectedFileName, FileContentOrginal, setEnableSave, resolvedFileNames, conflictData, }) { const [resolveAllActive, setResolveALlActive] = useState(); const [resetAlll, setResetAll] = useState(); @@ -166,14 +166,23 @@ function ConflictEditor({ {/* Content */}
{selectedFileContent.map((content, index) => ( -
+
{(index !== 0 && index !== selectedFileContent.length - 1) && (
{index}
)} -
+
{conflictData?.data?.files?.filepaths?.length === resolvedFileNames?.length && (