blob: 086e471692dc0e64d2fdc04fa69ee019913f3084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<template>
<modal>
<div class="dialog">
<h2>Hold up a second!</h2>
<p>The Keymap Editor app has been installed for more than one GitHub repository.</p>
<p>
I'm still working on things, including the ability to pick a specific
repo, but in the meantime you should go back to your <a :href="getInstallationUrl()">app configuration</a>
and select a single repository containing your keyboard's zmk-config.
</p>
</div>
</modal>
</template>
<script>
import Modal from '../modal.vue'
import * as github from '../../github'
export default {
name: 'TooManyRepos',
components: { Modal },
methods: {
getInstallationUrl() {
return `https://github.com/settings/installations/${github.installation.id}`
}
}
}
</script>
<style scoped>
.dialog {
background-color: white;
padding: 40px;
margin: 40px;
max-width: 500px;
}
</style>
|