Fix last activity sorting

This commit is contained in:
Natsumi
2022-05-17 19:23:36 +12:00
parent 3e647ed17b
commit dd06090682
2 changed files with 5 additions and 1 deletions

View File

@@ -1025,6 +1025,7 @@ speechSynthesis.getVoices();
tags: json.tags,
developerType: json.developerType,
last_login: json.last_login,
last_activity: json.last_activity,
last_platform: json.last_platform,
date_joined: json.date_joined,
allowAvatarCopying: json.allowAvatarCopying,
@@ -1279,6 +1280,7 @@ speechSynthesis.getVoices();
tags: [],
developerType: '',
last_login: '',
last_activity: '',
last_platform: '',
date_joined: '',
allowAvatarCopying: false,
@@ -1358,6 +1360,7 @@ speechSynthesis.getVoices();
json.state = 'active';
}
json.last_login = API.currentUser.last_login;
json.last_activity = API.currentUser.last_activity;
if (
typeof json.location !== 'undefined' &&
json.location === 'offline'
@@ -1405,6 +1408,7 @@ speechSynthesis.getVoices();
tags: [],
developerType: '',
last_login: '',
last_activity: '',
last_platform: '',
date_joined: '',
allowAvatarCopying: false,

View File

@@ -1015,7 +1015,7 @@ html
div.options-container-item
el-slider(v-model="asideWidth" @input="setAsideWidth" :show-tooltip="false" :marks="{236: ''}" :min="141" :max="500" style="width:300px")
div.options-container
span.header User Colors
span.header User Colours
div.options-container-item
span.name Random colours from user ID
el-switch(v-model="randomUserColours" @change="updatetrustColor")