mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 23:07:02 +08:00
feat(editor): replace slot with rxjs subject (#10768)
This commit is contained in:
@@ -258,7 +258,9 @@ export class EmbedCardEditModal extends SignalWatcher(
|
||||
super.connectedCallback();
|
||||
|
||||
this.disposables.add(
|
||||
this.host.std.get(EditorLifeCycleExtension).slots.unmounted.on(this._hide)
|
||||
this.host.std
|
||||
.get(EditorLifeCycleExtension)
|
||||
.slots.unmounted.subscribe(this._hide)
|
||||
);
|
||||
this._updateInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user