mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 15:23:50 +02:00
Add support for prints
This commit is contained in:
@@ -559,7 +559,11 @@ export default class extends baseClass {
|
||||
props: {
|
||||
userid: String,
|
||||
location: String,
|
||||
key: Number
|
||||
key: Number,
|
||||
hint: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -569,7 +573,9 @@ export default class extends baseClass {
|
||||
methods: {
|
||||
async parse() {
|
||||
this.username = this.userid;
|
||||
if (this.userid) {
|
||||
if (this.hint) {
|
||||
this.username = this.hint;
|
||||
} else if (this.userid) {
|
||||
var args = await API.getCachedUser({
|
||||
userId: this.userid
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user