Initial commit, source code of Gitea 1.23.1
This commit is contained in:
10
web_src/js/features/repo-diff-commitselect.ts
Normal file
10
web_src/js/features/repo-diff-commitselect.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import {createApp} from 'vue';
|
||||
import DiffCommitSelector from '../components/DiffCommitSelector.vue';
|
||||
|
||||
export function initDiffCommitSelect() {
|
||||
const el = document.querySelector('#diff-commit-select');
|
||||
if (!el) return;
|
||||
|
||||
const commitSelect = createApp(DiffCommitSelector);
|
||||
commitSelect.mount(el);
|
||||
}
|
Reference in New Issue
Block a user