Skip to content

Commit

Permalink
Remove second tab option -- it makes things confusing and can't be ta…
Browse files Browse the repository at this point in the history
…bbed to without more Elm work I don't want to do
  • Loading branch information
tesk9 committed Jul 19, 2023
1 parent 772ebd7 commit 026bef2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions component-catalog/src/Main.elm
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,6 @@ view model =
, label = text "Source 1"
, value = 0
, idString = String.fromInt 0
, tabTooltip = []
, attributes = []
, content = text "content"
}
, { icon = Nothing
, label = text "Source 2"
, value = 1
, idString = String.fromInt 1
, tabTooltip = tooltipProperties SegmentedControlTabs model
, attributes = [ Aria.disabled True ]
, content = text "content"
Expand All @@ -301,7 +293,7 @@ view model =
}
, ariaDisabled = True
, disabled = False
, notes = "aria-disabled added manually to the second option. There are no disabled/unfulfilled styles."
, notes = "aria-disabled added manually to the first option. There are no disabled/unfulfilled styles."
}
, { type_ = Select
, view =
Expand Down

0 comments on commit 026bef2

Please sign in to comment.