Skip to content

Commit

Permalink
fix credential type sort
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Aug 30, 2023
1 parent ffabb1c commit af03540
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/lightning_web/live/credential_live/type_picker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ defmodule LightningWeb.CredentialLive.TypePicker do
schemas_options
|> append_if_missing({"Raw JSON", "raw"})
|> append_if_missing({"Googlesheets", "googlesheets"})
|> Enum.sort_by(&(&1), :asc)
|> Enum.filter(fn {_, key} ->
case key do
"googlesheets" ->
Expand Down

0 comments on commit af03540

Please sign in to comment.