Skip to content

Commit

Permalink
different import style
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomb committed Sep 12, 2024
1 parent dc71e94 commit e771b7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Page/Explore/FoodProcesses.elm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module Page.Explore.FoodProcesses exposing (table)

import Data.Dataset as Dataset
import Data.Food.Db as FoodDb
import Data.Food.Process as FoodProcess exposing (getDisplayName)
import Data.Food.Process as FoodProcess
import Data.Scope exposing (Scope)
import Html exposing (..)
import Page.Explore.Table as Table exposing (Table)
Expand All @@ -28,8 +28,8 @@ table _ { detailed, scope } =
[ code [] [ text (FoodProcess.identifierToString process.identifier) ] ]
}
, { label = "Nom"
, toValue = Table.StringValue getDisplayName
, toCell = getDisplayName >> text
, toValue = Table.StringValue FoodProcess.getDisplayName
, toCell = FoodProcess.getDisplayName >> text
}
, { label = "Catégorie"
, toValue = Table.StringValue <| .category >> FoodProcess.categoryToLabel
Expand Down

0 comments on commit e771b7c

Please sign in to comment.