mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-03 12:48:23 +01:00
04e97b8311
Close #19902
10 lines
313 B
JavaScript
10 lines
313 B
JavaScript
import {createApp} from 'vue';
|
|
import PullRequestMergeForm from '../components/PullRequestMergeForm.vue';
|
|
|
|
export default function initPullRequestMergeForm() {
|
|
const el = document.getElementById('pull-request-merge-form');
|
|
if (!el) return;
|
|
|
|
const view = createApp(PullRequestMergeForm);
|
|
view.mount(el);
|
|
}
|