mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:46:30 +00:00
fix ui bugs, fix RefreshThumbnails method
This commit is contained in:
@@ -147,7 +147,7 @@ public class AnnotationService : INotificationHandler<AnnotationsDeletedEvent>
|
||||
: AnnotationStatus.Created;
|
||||
|
||||
await db.Detections.DeleteAsync(x => x.AnnotationName == fName, token: token);
|
||||
await db.BulkCopyAsync(detections, cancellationToken: token);
|
||||
|
||||
if (ann != null)
|
||||
{
|
||||
await db.Annotations
|
||||
@@ -177,6 +177,7 @@ public class AnnotationService : INotificationHandler<AnnotationsDeletedEvent>
|
||||
};
|
||||
await db.InsertAsync(ann, token: token);
|
||||
}
|
||||
await db.BulkCopyAsync(detections, cancellationToken: token);
|
||||
return ann;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user