fix and new logo

This commit is contained in:
2025-11-13 12:12:25 +01:00
parent 6fe7bbbbb5
commit f7251b8ce3
4 changed files with 13 additions and 7 deletions
@@ -1268,8 +1268,11 @@ const useDocumentsWorkspace = ({
});
const inspectDocumentForDesk = useCallback(
(doc: DocumentLike | null) => {
const docId = doc?.id;
(docOrId: DocumentLike | Identifier | null | undefined) => {
if (docOrId == null) {
return;
}
const docId = typeof docOrId === 'object' ? docOrId?.id : docOrId;
if (docId == null) {
return;
}