Skip to content

Commit b31b15c

Browse files
committed
Fixes the problem that the container is incorrectly hide even though it is visible
1 parent 8943476 commit b31b15c

File tree

2 files changed

+2
-2
lines changed
  • ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container
  • wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container

2 files changed

+2
-2
lines changed

ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/WysiwygTab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class WysiwygTab extends Abstract {
3131

3232
const containerIsVisible = !this._container.hidden;
3333
const tabMenu = getTabMenu(this.#wysiwygId)!;
34-
const containerShouldBeVisible = tabMenu.isHiddenTab(this.#tabName);
34+
const containerShouldBeVisible = !tabMenu.isHiddenTab(this.#tabName);
3535

3636
if (containerIsVisible !== containerShouldBeVisible) {
3737
if (containerShouldBeVisible) {

wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/WysiwygTab.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)