aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/google_docs/GoogleApiClientUtils.ts
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-08-31 15:12:22 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-08-31 15:12:22 -0400
commit420b17379afe3e3ba2c17628fd00ff524ec1a743 (patch)
treea03c291bb7631ffcba22bd012992f3dedb33c182 /src/client/apis/google_docs/GoogleApiClientUtils.ts
parente139441a1f3bbec9a51ef8594a9c785733d28415 (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.ts2
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;