Added endpoint back when on list

This commit is contained in:
Donald Zou 2025-02-17 14:25:37 +08:00
parent afcf6024e6
commit d84b2060f0
3 changed files with 14 additions and 2 deletions

3
.gitignore vendored
View File

@ -48,4 +48,5 @@ coverage
*.sw?
*.tsbuildinfo
.vite/*
.vite/*

View File

@ -9,7 +9,7 @@
<link rel="manifest" href="/static/app/dist/json/manifest.json">
<link rel="icon" href="/static/app/dist/favicon.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WGDashboard</title>
<title>WGDashboard 1</title>
<script type="module" crossorigin src="/static/app/dist/assets/index-CB1eX1Wm.js"></script>
<link rel="stylesheet" crossorigin href="/static/app/dist/assets/index-C1jOb5RQ.css">
</head>

View File

@ -42,6 +42,17 @@ export default {
<div>
<div v-if="!Peer.restricted" class="card-header bg-transparent d-flex align-items-center gap-2 border-0">
<div class="dot ms-0" :class="{active: Peer.status === 'running'}"></div>
<div
style="font-size: 0.8rem; color: #28a745"
class="d-flex align-items-center"
v-if="dashboardStore.Configuration.Server.dashboard_peer_list_display === 'list' && Peer.status === 'running'">
<i class="bi bi-box-arrow-in-right me-2"></i>
<span>
{{ Peer.endpoint }}
</span>
</div>
<div style="font-size: 0.8rem" class="ms-auto d-flex gap-2">
<span class="text-primary">
<i class="bi bi-arrow-down"></i><strong>