From b6fca769a338a0c6f2e625bfa521346a3efc8969 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 29 Jun 2026 21:46:45 +0000 Subject: [PATCH] Fix invalid Elm record pattern in ManyDecks instance picker Elm 0.19 does not support field aliasing in record destructuring patterns ({ field = alias } is not valid syntax). Use a plain argument and access fields with dot notation instead. Co-Authored-By: Claude Sonnet 4.6 --- client/src/elm/MassiveDecks/Card/Source/ManyDecks.elm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/elm/MassiveDecks/Card/Source/ManyDecks.elm b/client/src/elm/MassiveDecks/Card/Source/ManyDecks.elm index 8b92794..08613bf 100644 --- a/client/src/elm/MassiveDecks/Card/Source/ManyDecks.elm +++ b/client/src/elm/MassiveDecks/Card/Source/ManyDecks.elm @@ -120,10 +120,10 @@ editor ref shared _ update submit noOp = instancePicker = if List.length instances > 1 then let - toItem { baseUrl, name = instanceName } = - { id = baseUrl + toItem instance = + { id = instance.baseUrl , icon = Nothing - , primary = [ Html.text instanceName ] + , primary = [ Html.text instance.name ] , secondary = Nothing , meta = Nothing }