mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix creator property erased when exporting office documents
This commit is contained in:
parent
624c6d221a
commit
6b8766685e
@ -361,7 +361,7 @@ define([
|
||||
const props = getEditor().asc_getCoreProps();
|
||||
if (!props) { return; }
|
||||
props.title = title;
|
||||
if (!content.hashes || !content.hashes.length) {
|
||||
if (!content.hashes || !Object.keys(content.hashes).length) {
|
||||
// No CP: document is using our templates
|
||||
// --> fix the "creator" field
|
||||
props.creator = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user