Skip to content

Commit

Permalink
removed unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
klakhov committed Mar 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9e88903 commit bfab90c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cvat-core/src/frames.ts
Original file line number Diff line number Diff line change
@@ -646,9 +646,7 @@ export function deleteFrame(jobID: number, frame: number): void {

export function restoreFrame(jobID: number, frame: number): void {
const { meta } = frameDataCache[jobID];
if (frame in meta.deletedFrames) {
delete meta.deletedFrames[frame];
}
delete meta.deletedFrames[frame];
}

export async function patchMeta(jobID: number): Promise<void> {

0 comments on commit bfab90c

Please sign in to comment.