From b939f979a72242ab2da7106cc052c1943300b507 Mon Sep 17 00:00:00 2001 From: Daniel Lando Date: Fri, 31 May 2024 09:04:57 +0200 Subject: [PATCH] fix(ui): hide protocol selection when editing smart start entry that doesn't support long range Fixes #3735 --- src/views/SmartStart.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/SmartStart.vue b/src/views/SmartStart.vue index fc3d10d44fe..5981700fa8e 100644 --- a/src/views/SmartStart.vue +++ b/src/views/SmartStart.vue @@ -523,6 +523,10 @@ export default { required: true, key: 'protocol', items: protocolsItems, + disabled: + existingItem && + (!existingItem.supportedProtocols || + existingItem.supportedProtocols.length < 2), hint: 'Inclusion protocol to use', default: existingItem ? existingItem.protocol