Empty state language improvemnts

This commit is contained in:
Tom Moor
2018-08-06 23:22:20 -07:00
parent 1c9c2d8e26
commit 4674c10203
9 changed files with 30 additions and 19 deletions

View File

@@ -74,6 +74,11 @@ class Document extends BaseModel {
return [];
}
@computed
get isDraft(): boolean {
return !this.publishedAt;
}
@computed
get isEmpty(): boolean {
// Check if the document title has been modified and user generated content exists