diff --git a/packages/web/src/javascripts/Components/ApplicationView/ApplicationView.tsx b/packages/web/src/javascripts/Components/ApplicationView/ApplicationView.tsx index 190b9f24a..f2f806505 100644 --- a/packages/web/src/javascripts/Components/ApplicationView/ApplicationView.tsx +++ b/packages/web/src/javascripts/Components/ApplicationView/ApplicationView.tsx @@ -236,7 +236,6 @@ const ApplicationView: FunctionComponent = ({ application, mainApplicatio diff --git a/packages/web/src/javascripts/Components/NoteView/NoteConflictResolutionModal/NoteConflictResolutionModal.tsx b/packages/web/src/javascripts/Components/NoteView/NoteConflictResolutionModal/NoteConflictResolutionModal.tsx index a1c9d5bda..ad5c0fa4a 100644 --- a/packages/web/src/javascripts/Components/NoteView/NoteConflictResolutionModal/NoteConflictResolutionModal.tsx +++ b/packages/web/src/javascripts/Components/NoteView/NoteConflictResolutionModal/NoteConflictResolutionModal.tsx @@ -24,7 +24,7 @@ import Spinner from '../../Spinner/Spinner' import Switch from '../../Switch/Switch' import StyledTooltip from '../../StyledTooltip/StyledTooltip' import { DiffView } from './DiffView' -import { NoteContent } from './NoteContent' +import { ReadonlyNoteContent } from '../ReadonlyNoteContent' import { ConflictListItem } from './ConflictListItem' type ConflictAction = 'move-to-trash' | 'delete-permanently' @@ -315,8 +315,9 @@ const NoteConflictResolutionModal = ({ style={!isMobileScreen ? { gridTemplateColumns: `repeat(${selectedNotes.length}, 1fr)` } : undefined} > {selectedNotes.map((note) => ( - { const application = useApplication() const linkingController = useLinkingController() @@ -73,28 +77,30 @@ export const NoteContent = ({ return (
-
-
{note.title}
+
+
{content.title}
- + {showLinkedItems && ( + + )} {componentViewer ? (
- ) : note?.noteType === NoteType.Super ? ( + ) : content.noteType === NoteType.Super ? (
- + @@ -102,11 +108,11 @@ export const NoteContent = ({ ) : (
- {note.text.length ? ( + {content.text.length ? (