Fix word splitting

This commit is contained in:
Natsumi
2025-08-09 12:28:44 +12:00
parent 5049e0ac04
commit fd87bb4509
4 changed files with 3 additions and 3 deletions

View File

@@ -24,6 +24,7 @@ const userReq = {
`getUser missing user data for: ${params.userId}`
);
}
json.$lastFetch = Date.now(); // todo: make this not suck
const args = {
json,
params,

View File

@@ -117,7 +117,7 @@
.el-dialog__body {
padding: 20px;
word-break: break-word;
word-break: auto-phrase;
}
.el-dialog__footer > .el-button + .el-button {

View File

@@ -350,6 +350,7 @@ div.x-friend-list
.el-dialog__body {
color: $--theme-text-1;
word-break: auto-phrase;
}
.el-radio {

View File

@@ -520,7 +520,6 @@ export const useUserStore = defineStore('User', () => {
$customTag: '',
$customTagColour: '',
$friendNumber: 0,
$lastFetch: Date.now(),
$platform: '',
//
...json
@@ -552,7 +551,6 @@ export const useUserStore = defineStore('User', () => {
}
state.cachedUsers.set(ref.id, ref);
} else {
json.$lastFetch = Date.now(); // todo: make this not suck
if (json.state !== 'online') {
// offline event before GPS to offline location
friendStore.updateFriend(ref.id, json.state);