Skip to content

Commit 13623d6

Browse files
sashasasha
authored andcommitted
2 parents 7e9aa63 + cc7058e commit 13623d6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/documents.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ export default {
6767
const db = firebase.database();
6868
db.ref(`users/${this.uid}/docs`).on("value", snapshot => {
6969
this.loading = false;
70-
this.docs = [];
70+
7171
if (!snapshot.val()) {
7272
this.noDocs = true;
7373
} else {
7474
this.noDocs = false;
75+
this.docs = [];
7576
snapshot.forEach(doc => {
7677
let docKey = doc.key;
7778
let utc = doc.val().utc;

src/components/editor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ export default {
375375
docUser: this.docUser
376376
});
377377
this.personToShareWith = null;
378+
this.shareError = null;
378379
} else {
379380
this.shareError = "Not a user of Graphite Wirter";
380381
}

0 commit comments

Comments
 (0)