mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-01 06:48:56 +00:00
11 lines
306 B
JavaScript
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);
|
||
|
}
|