mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-23 06:00:21 +08: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