Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit c074922

Browse files
Zyntondmo-odoo
authored andcommitted
[FIX] Link: ensure link dialog fully closes on save
1 parent 7db849a commit c074922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-link/src/components/LinkComponent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export class LinkComponent<T = {}> extends OwlComponent<T> {
2222
url: this.state.url,
2323
label: this.state.label,
2424
} as LinkParams);
25+
this.env.editor.plugins.get(Layout).remove('link');
2526
this.destroy();
2627
}
2728
cancel(): void {

0 commit comments

Comments
 (0)