mirror of https://github.com/go-gitea/gitea.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
306 B
10 lines
306 B
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); |
|
}
|
|
|