Skip to content

Commit

Permalink
fix(ui): hide protocol selection when editing smart start entry that …
Browse files Browse the repository at this point in the history
…doesn't support long range

Fixes #3735
  • Loading branch information
robertsLando committed May 31, 2024
1 parent 73e6713 commit b939f97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/SmartStart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b939f97

Please sign in to comment.