mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-11-26 22:56:04 +01:00
Show only the worker name as the peer location
This commit is contained in:
@@ -141,7 +141,7 @@
|
||||
|
||||
const getPeerLocationLabel = (peerInfo) => {
|
||||
if (peerInfo && peerInfo.source_uuid && String(peerInfo.source_uuid).trim() !== '') {
|
||||
return peerInfo.source_name || '';
|
||||
return peerInfo.source_label || peerInfo.source_name || '';
|
||||
}
|
||||
return "{% trans 'Primary Server' %}";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user