mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-23 10:58:26 +00:00
Change job priority on queue page
This commit is contained in:
@ -2,6 +2,7 @@ module Data.Priority exposing
|
||||
( Priority(..)
|
||||
, all
|
||||
, fromString
|
||||
, next
|
||||
, toName
|
||||
)
|
||||
|
||||
@ -38,6 +39,16 @@ toName lang =
|
||||
"High"
|
||||
|
||||
|
||||
next : Priority -> Priority
|
||||
next prio =
|
||||
case prio of
|
||||
High ->
|
||||
Low
|
||||
|
||||
Low ->
|
||||
High
|
||||
|
||||
|
||||
all : List Priority
|
||||
all =
|
||||
[ Low, High ]
|
||||
|
Reference in New Issue
Block a user