Remove DiffFileList component
The benefit / functionality provided by DiffFileList is already (better) integrated in the header of the files. If you want an overview, you can collapse all files via the same overflow menu (where the stats were available). To reduce the maintenance effort, the DiffFileList component is therefore removed.
This commit is contained in:
parent
ce4730f9d7
commit
86c8949d9c
7 changed files with 2 additions and 97 deletions
|
@ -1,6 +1,5 @@
|
|||
import {createApp} from 'vue';
|
||||
import DiffFileTree from '../components/DiffFileTree.vue';
|
||||
import DiffFileList from '../components/DiffFileList.vue';
|
||||
|
||||
export function initDiffFileTree() {
|
||||
const el = document.getElementById('diff-file-tree');
|
||||
|
@ -9,11 +8,3 @@ export function initDiffFileTree() {
|
|||
const fileTreeView = createApp(DiffFileTree);
|
||||
fileTreeView.mount(el);
|
||||
}
|
||||
|
||||
export function initDiffFileList() {
|
||||
const fileListElement = document.getElementById('diff-file-list');
|
||||
if (!fileListElement) return;
|
||||
|
||||
const fileListView = createApp(DiffFileList);
|
||||
fileListView.mount(fileListElement);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue