(core) updates from grist-core

This commit is contained in:
Paul Fitzpatrick
2023-02-21 10:49:19 -05:00
29 changed files with 755 additions and 306 deletions

View File

@@ -120,6 +120,9 @@ export class Document extends Resource {
if (props.options.icon !== undefined) {
this.options.icon = sanitizeIcon(props.options.icon);
}
if (props.options.externalId !== undefined) {
this.options.externalId = props.options.externalId;
}
// Normalize so that null equates with absence.
for (const key of Object.keys(this.options) as Array<keyof DocumentOptions>) {
if (this.options[key] === null) {