From 7a093515a57e0d371c02c58840ac2c2756270e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vetle=20Andersen=20Kopperg=C3=A5rd?= <89847536+vetlek@users.noreply.github.com> Date: Tue, 3 Oct 2023 09:59:27 +0200 Subject: [PATCH] fix: bug in attr doc on hover (#313) Fix bug in attr doc on hover --- server/src/septic/docFormatting.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/src/septic/docFormatting.ts b/server/src/septic/docFormatting.ts index 89f696c4..ca6afbcb 100644 --- a/server/src/septic/docFormatting.ts +++ b/server/src/septic/docFormatting.ts @@ -40,10 +40,7 @@ export function formatObjectAttribute( doc += newline + horizontalRule(); doc += newline + attrDoc.description; doc += newline + code("DataType:") + " " + formatDataType(attrDoc); - doc += - newline + code("PublicProperty") + " " + attrDoc.calc - ? "True" - : "False"; + doc += newline + code("PublicProperty:") + " " + attrDoc.calc; if (attrDoc.default.length) { doc += newline +