|
|
@ -14,6 +14,7 @@ import { |
|
|
|
State, |
|
|
|
} from '../../commitDetails/protocol'; |
|
|
|
import { App } from '../shared/appBase'; |
|
|
|
// eslint-disable-next-line import/no-duplicates
|
|
|
|
import { FileChangeItem, FileChangeItemEventDetail } from '../shared/components/commit/file-change-item'; |
|
|
|
import { DOM } from '../shared/dom'; |
|
|
|
import './commitDetails.scss'; |
|
|
@ -23,7 +24,7 @@ import '../shared/components/formatted-date'; |
|
|
|
import '../shared/components/rich/issue-pull-request'; |
|
|
|
import '../shared/components/skeleton-loader'; |
|
|
|
import '../shared/components/commit/commit-stats'; |
|
|
|
// eslint-disable-next-line @typescript-eslint/no-duplicate-imports
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-duplicate-imports, import/no-duplicates
|
|
|
|
import '../shared/components/commit/file-change-item'; |
|
|
|
import '../shared/components/webview-pane'; |
|
|
|
|
|
|
@ -62,7 +63,7 @@ export class CommitDetailsApp extends App { |
|
|
|
return disposables; |
|
|
|
} |
|
|
|
|
|
|
|
onPickCommit(e: MouseEvent) { |
|
|
|
onPickCommit(_e: MouseEvent) { |
|
|
|
this.sendCommand(PickCommitCommandType, undefined); |
|
|
|
} |
|
|
|
|
|
|
@ -154,6 +155,7 @@ export class CommitDetailsApp extends App { |
|
|
|
this.renderStats(); |
|
|
|
this.renderFiles(); |
|
|
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
|
|
if (this.state.includeRichContent) { |
|
|
|
this.renderAutolinks(); |
|
|
|
} |
|
|
|