mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Search by tag category via web ui
This commit is contained in:
@ -18,7 +18,7 @@ import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (onCheck)
|
||||
import Http
|
||||
import Util.List
|
||||
import Util.Tag
|
||||
|
||||
|
||||
type alias Model =
|
||||
@ -148,8 +148,7 @@ update sett msg model =
|
||||
GetTagsResp (Ok tl) ->
|
||||
let
|
||||
categories =
|
||||
List.filterMap .category tl.items
|
||||
|> Util.List.distinct
|
||||
Util.Tag.getCategories tl.items
|
||||
in
|
||||
( { model
|
||||
| tagColorModel =
|
||||
|
Reference in New Issue
Block a user