mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:37:51 +02:00
Fix send item display name.
This commit is contained in:
parent
5d75c177be
commit
172cfa9527
3 changed files with 27 additions and 24 deletions
|
@ -145,7 +145,7 @@ function loadSettings() {
|
||||||
|
|
||||||
function pushReceivedItemToQueue(senderUUID, senderName, type, name, url) {
|
function pushReceivedItemToQueue(senderUUID, senderName, type, name, url) {
|
||||||
var packageRequest = {
|
var packageRequest = {
|
||||||
"sender": senderUUID,
|
"senderUUID": senderUUID,
|
||||||
"senderName": senderName,
|
"senderName": senderName,
|
||||||
"data": {
|
"data": {
|
||||||
"type": type,
|
"type": type,
|
||||||
|
|
|
@ -524,7 +524,8 @@
|
||||||
<v-card-title class="headline">Receiving Item</v-card-title>
|
<v-card-title class="headline">Receiving Item</v-card-title>
|
||||||
|
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{$store.state.receiveDialog.data.user}} is sending you an item.
|
{{$store.state.receiveDialog.data.userDisplayName}} sent you an item. <br />
|
||||||
|
User UUID: {{$store.state.receiveDialog.data.userUUID}}
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
|
||||||
<v-form
|
<v-form
|
||||||
|
@ -739,26 +740,26 @@ export default {
|
||||||
show: false,
|
show: false,
|
||||||
data: {
|
data: {
|
||||||
receivingItemQueue: [
|
receivingItemQueue: [
|
||||||
// {
|
{
|
||||||
// "sender": "SENDERUUIDLOL",
|
"senderUUID": "SENDERUUIDLOL",
|
||||||
// "senderName": "WHOISTHIS1",
|
"senderName": "WHOISTHIS1",
|
||||||
// "data": {
|
"data": {
|
||||||
// "type": "script",
|
"type": "script",
|
||||||
// "name": "This Is A Real Script",
|
"name": "This Is A Real Script",
|
||||||
// "url": "https://butwhythough.com/lol.js",
|
"url": "https://butwhythough.com/lol.js",
|
||||||
// "uuid": "This Is A Real Script",
|
"uuid": "This Is A Real Script",
|
||||||
// }
|
}
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// "sender": "TEST2SENDERUUID",
|
"senderUUID": "TEST2SENDERUUID",
|
||||||
// "senderName": "WHOTHISBE2",
|
"senderName": "WHOTHISBE2",
|
||||||
// "data": {
|
"data": {
|
||||||
// "type": "script",
|
"type": "script",
|
||||||
// "name": "REALLYLONGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG",
|
"name": "REALLYLONGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG",
|
||||||
// "url": "https://butwhythough.com/looool.js",
|
"url": "https://butwhythough.com/looool.js",
|
||||||
// "uuid": "REALLYLONNGGGGGGGG",
|
"uuid": "REALLYLONNGGGGGGGG",
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -981,7 +982,8 @@ export default {
|
||||||
acceptReceivingItem: function(data) {
|
acceptReceivingItem: function(data) {
|
||||||
this.removeReceivingItem(data.data.uuid);
|
this.removeReceivingItem(data.data.uuid);
|
||||||
|
|
||||||
this.receiveDialogStore.data.user = data.sender;
|
this.receiveDialogStore.data.userUUID = data.senderUUID;
|
||||||
|
this.receiveDialogStore.data.userDisplayName = data.senderName;
|
||||||
this.receiveDialogStore.data.type = data.data.type;
|
this.receiveDialogStore.data.type = data.data.type;
|
||||||
this.receiveDialogStore.data.name = data.data.name;
|
this.receiveDialogStore.data.name = data.data.name;
|
||||||
this.receiveDialogStore.data.url = data.data.url;
|
this.receiveDialogStore.data.url = data.data.url;
|
||||||
|
|
|
@ -264,7 +264,8 @@ export const store = new Vuex.Store({
|
||||||
show: false,
|
show: false,
|
||||||
valid: false,
|
valid: false,
|
||||||
data: {
|
data: {
|
||||||
"user": null,
|
"userUUID": null,
|
||||||
|
"userDisplayName": null,
|
||||||
"name": null,
|
"name": null,
|
||||||
"folder": null,
|
"folder": null,
|
||||||
"type": null,
|
"type": null,
|
||||||
|
|
Loading…
Reference in a new issue