fix: defensively hide legacy node identity
Demo images / Build & push demo images (push) Successful in 3m31s

This commit is contained in:
archipelago
2026-09-12 10:24:01 -04:00
parent a03f340bd1
commit d35474f774
@@ -154,7 +154,12 @@ const loadError = ref<string | null>(null)
// explicitly; keep a defensive name/purpose fallback for older nodes that do
// not send is_node yet.
const userIdentities = computed(() => identities.value.filter(identity =>
!identity.is_node && identity.name.trim().toLowerCase() !== 'node'
// `node-<pubkey>` is the deterministic id used by older node APIs before
// the explicit is_node marker was added. Keep this fallback so an older
// backend can never expose the appliance key as a profile choice.
!identity.is_node
&& !identity.id.trim().toLowerCase().startsWith('node-')
&& identity.name.trim().toLowerCase() !== 'node'
))
useModalKeyboard(modalRef, computed(() => props.show), () => emit('cancel'))