mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix word splitting
This commit is contained in:
@@ -24,6 +24,7 @@ const userReq = {
|
|||||||
`getUser missing user data for: ${params.userId}`
|
`getUser missing user data for: ${params.userId}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
json.$lastFetch = Date.now(); // todo: make this not suck
|
||||||
const args = {
|
const args = {
|
||||||
json,
|
json,
|
||||||
params,
|
params,
|
||||||
|
|||||||
@@ -117,7 +117,7 @@
|
|||||||
|
|
||||||
.el-dialog__body {
|
.el-dialog__body {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
word-break: break-word;
|
word-break: auto-phrase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-dialog__footer > .el-button + .el-button {
|
.el-dialog__footer > .el-button + .el-button {
|
||||||
|
|||||||
@@ -350,6 +350,7 @@ div.x-friend-list
|
|||||||
|
|
||||||
.el-dialog__body {
|
.el-dialog__body {
|
||||||
color: $--theme-text-1;
|
color: $--theme-text-1;
|
||||||
|
word-break: auto-phrase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-radio {
|
.el-radio {
|
||||||
|
|||||||
@@ -520,7 +520,6 @@ export const useUserStore = defineStore('User', () => {
|
|||||||
$customTag: '',
|
$customTag: '',
|
||||||
$customTagColour: '',
|
$customTagColour: '',
|
||||||
$friendNumber: 0,
|
$friendNumber: 0,
|
||||||
$lastFetch: Date.now(),
|
|
||||||
$platform: '',
|
$platform: '',
|
||||||
//
|
//
|
||||||
...json
|
...json
|
||||||
@@ -552,7 +551,6 @@ export const useUserStore = defineStore('User', () => {
|
|||||||
}
|
}
|
||||||
state.cachedUsers.set(ref.id, ref);
|
state.cachedUsers.set(ref.id, ref);
|
||||||
} else {
|
} else {
|
||||||
json.$lastFetch = Date.now(); // todo: make this not suck
|
|
||||||
if (json.state !== 'online') {
|
if (json.state !== 'online') {
|
||||||
// offline event before GPS to offline location
|
// offline event before GPS to offline location
|
||||||
friendStore.updateFriend(ref.id, json.state);
|
friendStore.updateFriend(ref.id, json.state);
|
||||||
|
|||||||
Reference in New Issue
Block a user