fix(route-card): clarify VPN mode badge labels in route cards
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user