mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user