Skip to content

Commit 08f0b09

Browse files
authored
fix(project): add link on advanced repo and remove disconnect button (#113)
1 parent d39fdbd commit 08f0b09

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pages/@[team]/[project]/settings/repository.vue

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,20 @@
1111
<div class="flex items-center justify-center gap-4">
1212
<UIcon name="fa-brands:github" class="w-6 h-6" />
1313
<div class="flex flex-col">
14-
<div class="flex items-center justify-center gap-1">
15-
<div class="font-semibold u-text-gray-900">
16-
{{ project.repository.owner }}/{{ project.name }}
17-
</div>
14+
<a
15+
:href="`https://github.com/${project.repository.owner}/${project.name}`"
16+
target="_blank"
17+
rel="noopener"
18+
class="flex items-center gap-1 font-semibold u-text-gray-900 hover:underline"
19+
>
20+
{{ project.repository.owner }}/{{ project.name }}
1821
<UIcon name="heroicons-solid:external-link" class="w-4 h-4" />
19-
</div>
22+
</a>
2023
<div class="text-sm u-text-gray-400">
2124
Updated {{ useTimeAgo(new Date(project.updatedAt)).value }}
2225
</div>
2326
</div>
2427
</div>
25-
<!-- TODO: disconnect -->
26-
<UButton label="Disconnect" size="sm" />
2728
</UCard>
2829
</UCard>
2930
</div>

0 commit comments

Comments
 (0)