diff options
author | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-29 01:20:45 -0400 |
---|---|---|
committer | monoguitari <113245090+monoguitari@users.noreply.github.com> | 2023-08-29 01:20:45 -0400 |
commit | 10c6aac13daafb32f7cb93dadceab273c4614209 (patch) | |
tree | 4f08abd8b23715a63d5a9a8a0b90471ce0f71f7b /src/fields/Doc.ts | |
parent | de343764f5f60bb8e9400139e1a56a8483da90b7 (diff) | |
parent | 8e143637a34e1766b5993e1c494c8d5a9d881698 (diff) |
Merge branch 'master' into advanced-trails-2-jesus
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r-- | src/fields/Doc.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index f17e10d9e..ad0e548ed 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -1001,7 +1001,7 @@ export namespace Doc { references.add(doc); return; } - const excludeLists = doc.title === 'My Recently Closed' || doc.title === 'My Header Bar' || doc.title === 'My Dashboards'; + const excludeLists = ['My Recently Closed', 'My Header Bar', 'My Dashboards'].includes(StrCast(doc.title)); if (system !== undefined && ((system && !Doc.IsSystem(doc)) || (!system && Doc.IsSystem(doc)))) return; references.add(doc); Object.keys(doc).forEach(key => { |