From 8454d68b542f2812e3c005b27aaf61b414ea45d7 Mon Sep 17 00:00:00 2001 From: friebetill Date: Wed, 15 Feb 2023 20:23:46 +0800 Subject: [PATCH] Fix old name of view type --- src/components/differences_view.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/differences_view.ts b/src/components/differences_view.ts index 0b31b05..ddfb340 100644 --- a/src/components/differences_view.ts +++ b/src/components/differences_view.ts @@ -7,7 +7,7 @@ import { preventEmptyString } from '../utils/string_utils' import { ActionLine } from './action_line' import { DeleteFileModal } from './modals/delete_file_modal' -export const VIEW_TYPE_PATCH = 'patch-view' +export const VIEW_TYPE_DIFFERENCES = 'differences-view' export class DifferencesView extends ItemView { constructor(args: { @@ -43,7 +43,7 @@ export class DifferencesView extends ItemView { private wasDeleteModalShown = false getViewType(): string { - return VIEW_TYPE_PATCH + return VIEW_TYPE_DIFFERENCES } getDisplayText(): string {