mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-25 16:45:05 +00:00
Hide number of pages, if item is only one file with one page
This commit is contained in:
parent
7a14b05ea7
commit
89646ef3f6
@ -180,7 +180,7 @@ view cfg settings model item =
|
||||
div
|
||||
[ classList
|
||||
[ ( "card-attachment-nav", True )
|
||||
, ( "invisible", pageCount == 0 )
|
||||
, ( "invisible", pageCount == 0 || (item.fileCount == 1 && pageCount == 1) )
|
||||
]
|
||||
]
|
||||
[ if item.fileCount == 1 then
|
||||
|
Loading…
x
Reference in New Issue
Block a user