mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
fix: cannot read properties of undefined
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
v-if="randomUserColours"
|
||||
:style="{ color: scope.row.user.$userColour }"
|
||||
v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user?.displayName"></span>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -264,7 +264,7 @@
|
||||
v-if="randomUserColours"
|
||||
:style="{ color: scope.row.user.$userColour }"
|
||||
v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user?.displayName"></span>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -380,7 +380,7 @@
|
||||
v-if="randomUserColours"
|
||||
:style="{ color: scope.row.user.$userColour }"
|
||||
v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user?.displayName"></span>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -465,7 +465,7 @@
|
||||
v-if="randomUserColours"
|
||||
:style="{ color: scope.row.user.$userColour }"
|
||||
v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user?.displayName"></span>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -576,7 +576,7 @@
|
||||
v-if="randomUserColours"
|
||||
:style="{ color: scope.row.user.$userColour }"
|
||||
v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user.displayName"></span>
|
||||
<span v-else v-text="scope.row.user?.displayName"></span>
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@@ -227,6 +227,9 @@ function userImage(
|
||||
* @returns {string|*}
|
||||
*/
|
||||
function userImageFull(user) {
|
||||
if (!user) {
|
||||
return '';
|
||||
}
|
||||
const appAppearanceSettingsStore = useAppearanceSettingsStore();
|
||||
if (
|
||||
appAppearanceSettingsStore.displayVRCPlusIconsAsAvatar &&
|
||||
|
||||
Reference in New Issue
Block a user