This commit is contained in:
Manav Rathi
2025-03-06 17:18:42 +05:30
parent 815009da9b
commit f48d97112c
2 changed files with 52 additions and 42 deletions

View File

@@ -483,6 +483,8 @@ const FileViewer: React.FC<FileViewerProps> = ({
const handleAnnotate = useCallback(
(file: EnteFile, itemData: ItemData): FileViewerAnnotatedFile => {
log.debug(() => ["viewer", { action: "annotate", file, itemData }]);
const fileID = file.id;
const isOwnFile = file.ownerID == user?.id;