mirror of
				https://github.com/TheAnachronism/docspell.git
				synced 2025-11-03 18:00:11 +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