Skip to content

Commit

Permalink
Merge pull request #120 from bible-technology/ft/offline-merge-temp-repo
Browse files Browse the repository at this point in the history
fixed terminology of all merge
  • Loading branch information
vipinpaul authored Aug 11, 2023
2 parents ceba4a5 + 5ea83fe commit 68c76cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions renderer/src/layouts/projects/Import/ConflictEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const ConflictComponent = ({
<div className="border-2 flex flex-col w-full p-2 rounded-md gap-2">

{/* <div className="text-red-600 bg-gray-200/50 p-3 rounded-md border border-red-200 hover:bg-red-200"> */}
<div className={`text-red-600 bg-gray-200/50 p-3 rounded-md border border-red-200 ${hoveredId === 'current' ? 'bg-red-300/50' : hoveredId === 'both' ? 'bg-primary/25' : ''}`}>
<div className={`text-red-600 bg-gray-200/50 p-3 rounded-md border border-red-200 ${hoveredId === 'current' ? 'bg-red-300/50' : hoveredId === 'both' ? 'bg-primary/[.70]' : ''}`}>
{/* <div className="">
{'<<<<<<<'}
{' '}
Expand All @@ -107,7 +107,7 @@ const ConflictComponent = ({
{/* <div>=======</div> */}

{/* <div className="text-green-600 bg-gray-200/50 p-3 rounded-md border border-green-200 hover:bg-green-200"> */}
<div className={`text-green-600 bg-gray-200/50 p-3 rounded-md border border-green-200 ${hoveredId === 'incoming' ? 'bg-green-200' : hoveredId === 'both' ? 'bg-primary/25' : ''} `}>
<div className={`text-green-600 bg-gray-200/50 p-3 rounded-md border border-green-200 ${hoveredId === 'incoming' ? 'bg-green-200' : hoveredId === 'both' ? 'bg-primary/[.70]' : ''} `}>
<div>{matchedData.incoming}</div>
{/* <div>
{'>>>>>>>'}
Expand Down Expand Up @@ -258,31 +258,31 @@ function ConflictEditor({
disabled={resolveAllActive === false}
className={` ${resolveAllActive ? 'cursor-pointer hover:text-red-600' : 'text-gray-500'}`}
>
All Current
All ours
</button>
<button
type="button"
onClick={() => resolveAllTogether(selectedFileContent, 'incoming')}
disabled={resolveAllActive === false}
className={` ${resolveAllActive ? 'cursor-pointer hover:text-green-600' : 'text-gray-500'}`}
>
All Incoming
All theirs
</button>
<button
type="button"
onClick={() => resolveAllTogether(selectedFileContent, 'both')}
disabled={resolveAllActive === false}
className={` ${resolveAllActive ? 'cursor-pointer hover:text-primary' : 'text-gray-500'}`}
>
All Both
All both
</button>
<button
type="button"
disabled={resetAlll === false}
onClick={() => resetAllResolved()}
className={` ${(resetAlll) ? 'cursor-pointer hover:text-primary' : 'text-gray-500'}`}
>
Reset
Reset all
</button>
</div>
</div>
Expand Down

0 comments on commit 68c76cd

Please sign in to comment.