fx-compat: Fix relatedBox 'Add' button visibility

This commit is contained in:
Martynas Bagdonas 2022-05-26 18:31:07 +03:00
parent db0ac723fa
commit 0079fbdb08

View file

@ -135,7 +135,7 @@
}
refresh() {
this._id('related-add').hidden = this._mode == 'edit';
this._id('related-add').hidden = this._mode != 'edit';
let grid = this._id('related-grid');
grid.replaceChildren();