mirror of
https://github.com/friebetill/obsidian-file-diff.git
synced 2026-07-22 07:40:25 +00:00
Fix old name of view type
This commit is contained in:
parent
941c5f0c80
commit
8454d68b54
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue