Skip to content

Commit

Permalink
Further refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
ivynya committed Jul 19, 2020
1 parent 1fb6bb5 commit 195d304
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions angular/src/app/dashboard/dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export class DashboardComponent implements OnInit {
// Get user collection
this.db = firebase.firestore();
this.db.collection(uid).onSnapshot(qs => {
this.notes = [];

qs.forEach((doc) => {
let note = <Kami$Note><unknown>doc.data();
note.id = doc.id;
Expand Down
1 change: 1 addition & 0 deletions angular/src/app/home/home.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ nav {

p {
font-size: 36px;
max-width: 400px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export class FileComponent implements OnInit {
"text": text,
"summary": output
});

this.closeDialog();
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export class TextComponent implements OnInit {
"text": this.text,
"summary": output
});

this.closeDialog();
});
}

Expand Down
6 changes: 5 additions & 1 deletion angular/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
<link rel="icon" type="image/x-icon" href="assets/icons/favicon.ico">
</head>
<body>
<app-root class="app">Loading...</app-root>
<app-root class="app">
<div class="flex-column justify-center align-center">
Loading...
</div>
</app-root>
<div class="download-prompt flex-column justify-center align-center">
<div class="flex-row align-center flex-list">
<img src="assets/img/logo.png" alt="Logo" height="48px">
Expand Down

0 comments on commit 195d304

Please sign in to comment.