mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
fix: second half of connectToInstance
This commit is contained in:
parent
cb324cc125
commit
4311b482fd
@ -482,7 +482,7 @@ class UI extends EventListener {
|
|||||||
connection: e.data.appInstanceID,
|
connection: e.data.appInstanceID,
|
||||||
accept: true,
|
accept: true,
|
||||||
value,
|
value,
|
||||||
});
|
}, '*');
|
||||||
};
|
};
|
||||||
const reject = value => {
|
const reject = value => {
|
||||||
this.messageTarget?.postMessage({
|
this.messageTarget?.postMessage({
|
||||||
@ -490,7 +490,7 @@ class UI extends EventListener {
|
|||||||
connection: e.data.appInstanceID,
|
connection: e.data.appInstanceID,
|
||||||
accept: false,
|
accept: false,
|
||||||
value,
|
value,
|
||||||
});
|
}, '*');
|
||||||
};
|
};
|
||||||
this.emit('connection', {
|
this.emit('connection', {
|
||||||
conn, accept, reject,
|
conn, accept, reject,
|
||||||
|
Loading…
Reference in New Issue
Block a user