fix(route-card): clarify VPN mode badge labels in route cards

This commit is contained in:
2026-04-04 20:47:05 +00:00
parent 70c43ceae3
commit 1fc1de6691
3 changed files with 7 additions and 2 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## 2026-04-04 - 2.11.1 - fix(route-card)
clarify VPN mode badge labels in route cards
- Renames VPN badge text from "VPN Only"/"VPN + Public" to "VPN Mandatory"/"VPN Voluntary" for clearer route mode descriptions.
## 2026-04-02 - 2.11.0 - feat(route-ui)
add VPN details and conditional card actions to route cards

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/catalog',
version: '2.11.0',
version: '2.11.1',
description: 'UI component catalog for serve.zone'
}

View File

@@ -797,7 +797,7 @@ export class SzRouteCard extends DeesElement {
<span class="field-key">Mode</span>
<span class="field-value">
<span class="vpn-badge ${vpn.mandatory !== false ? 'mandatory' : 'optional'}">
${vpn.mandatory !== false ? 'VPN Only' : 'VPN + Public'}
${vpn.mandatory !== false ? 'VPN Mandatory' : 'VPN Voluntary'}
</span>
</span>
</div>