From: Fabii547 Date: Thu, 3 Jun 2021 10:09:41 +0000 (+0200) Subject: Fix displaying `runStandalone` in devtools (#4255) X-Git-Tag: 5.4.0_Beta_2~38 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82d0cebf9ea504bcc0e37b0b0b5bd089f0680c1b;p=GitHub%2FWoltLab%2FWCF.git Fix displaying `runStandalone` in devtools (#4255) --- 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();