mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +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,
|
||||
accept: true,
|
||||
value,
|
||||
});
|
||||
}, '*');
|
||||
};
|
||||
const reject = value => {
|
||||
this.messageTarget?.postMessage({
|
||||
@ -490,7 +490,7 @@ class UI extends EventListener {
|
||||
connection: e.data.appInstanceID,
|
||||
accept: false,
|
||||
value,
|
||||
});
|
||||
}, '*');
|
||||
};
|
||||
this.emit('connection', {
|
||||
conn, accept, reject,
|
||||
|
Loading…
Reference in New Issue
Block a user