feat: translations (#2275)

Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
falleng0d
2021-07-19 15:12:53 -03:00
committed by GitHub
parent 05aba68457
commit 2e955353ae
4 changed files with 61 additions and 34 deletions

View File

@@ -149,12 +149,6 @@ export default class Document extends BaseModel {
get isFromTemplate(): boolean {
return !!this.templateId;
}
@computed
get placeholder(): ?string {
return this.isTemplate ? "Start your template…" : "Start with a title…";
}
@action
share = async () => {
return this.store.rootStore.shares.create({ documentId: this.id });