From f8a69268272d68d76a7a0e82c5d36c1c6fa7f358 Mon Sep 17 00:00:00 2001 From: Nikhil Mehta <6815560+technikhil314@users.noreply.github.com> Date: Tue, 5 Dec 2023 16:40:16 +0530 Subject: [PATCH] fix: added missing titles in diffview of v2 (#138) --- pages/v2/diff.vue | 52 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/pages/v2/diff.vue b/pages/v2/diff.vue index 2e4875e..7708741 100644 --- a/pages/v2/diff.vue +++ b/pages/v2/diff.vue @@ -4,8 +4,45 @@
+
+

+ {{ lhsLabel }} +

+

+ {{ rhsLabel }} +

+
{ if (monacoDiffViewerEl) { this.monacoDiffEditor = monaco.editor.createDiffEditor( @@ -62,7 +102,7 @@ export default Vue.extend({ ...monacoEditorOptions, readOnly: true, wordWrap: 'on', - diffAlgorithm: 'advanced' + diffAlgorithm: 'advanced', } ) as any if (this.monacoDiffEditor) {