Small fixes

This commit is contained in:
Natsumi
2022-09-09 07:17:52 +12:00
parent 467e7db127
commit 6cf1c81276
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -7650,6 +7650,9 @@ speechSynthesis.getVoices();
$app.addFeed(feed); $app.addFeed(feed);
database.addGPSToDatabase(feed); database.addGPSToDatabase(feed);
$app.updateFriendGPS(ref.id); $app.updateFriendGPS(ref.id);
// clear previousLocation after GPS
ref.$previousLocation = '';
ref.$travelingToTime = Date.now();
} }
} }
if ( if (
@@ -9797,7 +9800,7 @@ speechSynthesis.getVoices();
if (displayName === 'Random') { if (displayName === 'Random') {
displayName = ''; displayName = '';
} }
if (videoId === 0) { if (videoId === 9999) {
videoId = 'YouTube'; videoId = 'YouTube';
} }
if (videoUrl === this.nowPlaying.url) { if (videoUrl === this.nowPlaying.url) {
@@ -13828,12 +13831,11 @@ speechSynthesis.getVoices();
description: '', description: '',
id: '', id: '',
imageUrl: '', imageUrl: '',
// thumbnailImageUrl: '', thumbnailImageUrl: '',
created_at: '0001-01-01T00:00:00.0000000Z', created_at: '0001-01-01T00:00:00.0000000Z',
updated_at: '0001-01-01T00:00:00.0000000Z', updated_at: '0001-01-01T00:00:00.0000000Z',
releaseStatus: 'public', releaseStatus: 'public',
...avatar, ...avatar
thumbnailImageUrl: avatar.imageUrl
}; };
avatars.set(ref1.id, ref1); avatars.set(ref1.id, ref1);
} }
+1 -1
View File
@@ -136,7 +136,7 @@ html
el-popover(placement="right" height="500px" trigger="hover") el-popover(placement="right" height="500px" trigger="hover")
img.friends-list-avatar(slot="reference" v-lazy="userImage(scope.row.ref)") img.friends-list-avatar(slot="reference" v-lazy="userImage(scope.row.ref)")
img.friends-list-avatar(v-lazy="userImageFull(scope.row.ref)" style="height:500px;cursor:pointer" @click="openExternalLink(userImageFull(scope.row.ref))") img.friends-list-avatar(v-lazy="userImageFull(scope.row.ref)" style="height:500px;cursor:pointer" @click="openExternalLink(userImageFull(scope.row.ref))")
el-table-column(label="Timer" width="80" prop="timer" sortable) el-table-column(label="Timer" width="90" prop="timer" sortable)
template(v-once #default="scope") template(v-once #default="scope")
timer(:epoch="scope.row.timer") timer(:epoch="scope.row.timer")
el-table-column(v-if="photonLoggingEnabled" label="Photon Id" width="110" prop="photonId" sortable) el-table-column(v-if="photonLoggingEnabled" label="Photon Id" width="110" prop="photonId" sortable)