Added missing commit
This commit is contained in:
parent
807b39f24d
commit
49bf4ad36d
@ -41,6 +41,11 @@ class CollectProjection(val events: List<Event>) {
|
||||
coverDownloadTaskStatus
|
||||
)
|
||||
|
||||
fun canStoreAutomatically(): Boolean {
|
||||
val manualEvent = events.filterIsInstance<StartProcessingEvent>().lastOrNull()
|
||||
return manualEvent?.data?.flow != StartFlow.Manual
|
||||
}
|
||||
|
||||
private fun projectUseFile(): File? {
|
||||
val added = events.filterIsInstance<FileAddedEvent>().firstOrNull()?.data
|
||||
val startEvent = projectStartedWith()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user