|
@@ -61,7 +61,7 @@ const app = new Vue({
|
|
this.showLoading = true;
|
|
this.showLoading = true;
|
|
|
|
|
|
if (this.hashtagKey === null) {
|
|
if (this.hashtagKey === null) {
|
|
- console.info("No hashtags posted on this day");
|
|
|
|
|
|
+ console.info("No hashtags posted on this day (" + this.date + ")");
|
|
} else {
|
|
} else {
|
|
let data = await gun
|
|
let data = await gun
|
|
.get(gunId)
|
|
.get(gunId)
|
|
@@ -78,7 +78,9 @@ const app = new Vue({
|
|
for (let i = 0; i < this.total; i++) {
|
|
for (let i = 0; i < this.total; i++) {
|
|
this.done = i + 1;
|
|
this.done = i + 1;
|
|
const hashtagEntry = await gun.get(keys[i]).then();
|
|
const hashtagEntry = await gun.get(keys[i]).then();
|
|
- this.hashtags.push(hashtagEntry["hashtags"]);
|
|
|
|
|
|
+ if (hashtagEntry !== undefined && hashtagEntry["hashtags"]) {
|
|
|
|
+ this.hashtags.push(hashtagEntry["hashtags"]);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|