From 82d0cebf9ea504bcc0e37b0b0b5bd089f0680c1b Mon Sep 17 00:00:00 2001 From: Fabii547 Date: Thu, 3 Jun 2021 12:09:41 +0200 Subject: [PATCH] Fix displaying `runStandalone` in devtools (#4255) --- .../Acp/Form/Builder/Field/Devtools/Project/Instructions.ts | 2 +- .../Acp/Form/Builder/Field/Devtools/Project/Instructions.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.ts b/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.ts index 02c62063e6..997155e661 100644 --- a/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.ts +++ b/ts/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.ts @@ -393,7 +393,7 @@ class Instructions { { application: listItem.dataset.application, pip: listItem.dataset.pip, - runStandalone: listItem.dataset.runStandalone, + runStandalone: Core.stringToBool(listItem.dataset.runStandalone), value: listItem.dataset.value, }, ); diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js index 1d4d598859..e9daebf1aa 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Acp/Form/Builder/Field/Devtools/Project/Instructions.js @@ -269,7 +269,7 @@ define(["require", "exports", "tslib", "../../../../../../Core", "../../../../.. listItem.querySelector(".jsDevtoolsProjectInstruction").innerHTML = Language.get("wcf.acp.devtools.project.instruction.instruction", { application: listItem.dataset.application, pip: listItem.dataset.pip, - runStandalone: listItem.dataset.runStandalone, + runStandalone: Core.stringToBool(listItem.dataset.runStandalone), value: listItem.dataset.value, }); Listener_1.default.trigger(); -- 2.20.1