This commit is contained in:
Natsumi
2025-05-26 05:12:51 +10:00
parent 2d58d3cbbd
commit 2f019ac038
4 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -336,6 +336,7 @@ console.log(`isLinux: ${LINUX}`);
provide() { provide() {
return { return {
API, API,
friends: this.friends,
showUserDialog: this.showUserDialog, showUserDialog: this.showUserDialog,
adjustDialogZ: this.adjustDialogZ, adjustDialogZ: this.adjustDialogZ,
getWorldName: this.getWorldName, getWorldName: this.getWorldName,
@@ -13737,7 +13738,7 @@ console.log(`isLinux: ${LINUX}`);
lastLocationDestination: this.lastLocationDestination, lastLocationDestination: this.lastLocationDestination,
isGameRunning: this.isGameRunning, isGameRunning: this.isGameRunning,
inviteResponseMessageTable: this.inviteResponseMessageTable, inviteResponseMessageTable: this.inviteResponseMessageTable,
updateImage: this.updateImage, uploadImage: this.uploadImage,
checkCanInvite: this.checkCanInvite, checkCanInvite: this.checkCanInvite,
inviteRequestResponseMessageTable: inviteRequestResponseMessageTable:
this.inviteRequestResponseMessageTable this.inviteRequestResponseMessageTable
+2
View File
@@ -557,6 +557,8 @@ export default class extends baseClass {
// on avatar upload // on avatar upload
} else if (contentType === 'avatargallery') { } else if (contentType === 'avatargallery') {
// on avatar gallery image upload // on avatar gallery image upload
} else if (contentType === 'invitePhoto') {
// on uploading invite photo
} else { } else {
console.log( console.log(
'Unknown content-refresh type', 'Unknown content-refresh type',
+1 -1
View File
@@ -506,7 +506,7 @@
export default { export default {
name: 'NewInstanceDialog', name: 'NewInstanceDialog',
components: { InviteDialog }, components: { InviteDialog },
inject: ['API', 'userImage', 'userStatusClass', 'showLaunchDialog', 'adjustDialogZ'], inject: ['API', 'friends', 'userImage', 'userStatusClass', 'showLaunchDialog', 'adjustDialogZ'],
props: { props: {
vipFriends: { vipFriends: {
type: Array, type: Array,
@@ -939,9 +939,10 @@
</template> </template>
<div class="detail"> <div class="detail">
<span class="name">{{ t('dialog.user.info.last_activity') }}</span> <span class="name">{{ t('dialog.user.info.last_activity') }}</span>
<span class="extra">{{ <span v-if="userDialog.ref.last_activity" class="extra">{{
timeToText(Date.now() - Date.parse(userDialog.ref.last_activity)) timeToText(Date.now() - Date.parse(userDialog.ref.last_activity))
}}</span> }}</span>
<span v-else class="extra">-</span>
</div> </div>
</el-tooltip> </el-tooltip>
</div> </div>