diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-31 15:12:22 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-08-31 15:12:22 -0400 |
commit | 420b17379afe3e3ba2c17628fd00ff524ec1a743 (patch) | |
tree | a03c291bb7631ffcba22bd012992f3dedb33c182 /src/client/apis/google_docs/GoogleApiClientUtils.ts | |
parent | e139441a1f3bbec9a51ef8594a9c785733d28415 (diff) |
mostly functional bullet structure import
Diffstat (limited to 'src/client/apis/google_docs/GoogleApiClientUtils.ts')
-rw-r--r-- | src/client/apis/google_docs/GoogleApiClientUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/google_docs/GoogleApiClientUtils.ts b/src/client/apis/google_docs/GoogleApiClientUtils.ts index 3026f6e17..828d4451a 100644 --- a/src/client/apis/google_docs/GoogleApiClientUtils.ts +++ b/src/client/apis/google_docs/GoogleApiClientUtils.ts @@ -123,7 +123,7 @@ export namespace GoogleApiClientUtils { bullet = element.paragraph.bullet.nestingLevel || 0; } } - runs.length && fragments.push({ runs, bullet }); + (runs.length || !filterEmpty) && fragments.push({ runs, bullet }); } } return fragments; |