mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Add logic to set due date from addons, based on #2362
Signed-off-by: martin f. krafft <madduck@madduck.net>
This commit is contained in:
@ -127,6 +127,12 @@ private[backend] class BackendCommands[F[_]: Sync](
|
||||
itemOps
|
||||
.setItemDate(Nel.of(item), date.some, collective)
|
||||
.void
|
||||
|
||||
case ItemAction.SetDueDate(duedate) =>
|
||||
logger.debug(s"Set due date $duedate on item ${item.id} for $collective") *>
|
||||
itemOps
|
||||
.setItemDueDate(Nel.of(item), duedate, collective)
|
||||
.void
|
||||
}
|
||||
|
||||
def runAttachAction(
|
||||
|
Reference in New Issue
Block a user