forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js/features/repo-diff-commitselect.js

11 lines
306 B
JavaScript

import {createApp} from 'vue';
import DiffCommitSelector from '../components/DiffCommitSelector.vue';
export function initDiffCommitSelect() {
const el = document.getElementById('diff-commit-select');
if (!el) return;
const commitSelect = createApp(DiffCommitSelector);
commitSelect.mount(el);
}