Skip to content

Commit

Permalink
Fix last activity sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsumi-sama committed May 17, 2022
1 parent 3e647ed commit dd06090
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions html/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -1279,6 +1280,7 @@ speechSynthesis.getVoices();
tags: [],
developerType: '',
last_login: '',
last_activity: '',
last_platform: '',
date_joined: '',
allowAvatarCopying: false,
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -1405,6 +1408,7 @@ speechSynthesis.getVoices();
tags: [],
developerType: '',
last_login: '',
last_activity: '',
last_platform: '',
date_joined: '',
allowAvatarCopying: false,
Expand Down
2 changes: 1 addition & 1 deletion html/src/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit dd06090

Please sign in to comment.