diff --git a/docs/Releases.md b/docs/Releases.md index f8185323..476e65d6 100644 --- a/docs/Releases.md +++ b/docs/Releases.md @@ -10,6 +10,7 @@ This page tracks major changes included in any update starting with version 4.0. - Support for strict CSP (dynamic inline styles removed) ([#634](https://github.com/MiniProfiler/dotnet/pull/634) - thanks [rwasef1830](https://github.com/rwasef1830)) - **Fixes/Changes**: - Upgraded MongoDB driver, allowing automatic index creation and profiler expiration ([#613](https://github.com/MiniProfiler/dotnet/pull/613) - thanks [IanKemp](https://github.com/IanKemp)) + - Fixed [#652](https://github.com/MiniProfiler/dotnet/issues/652): Respect `PopupDecimalPlaces` in all cases ([#655](https://github.com/MiniProfiler/dotnet/pull/655)) #### Version 4.3.8 - **New**: diff --git a/src/MiniProfiler.Shared/Internal/Render.cs b/src/MiniProfiler.Shared/Internal/Render.cs index 032466c7..777a511a 100644 --- a/src/MiniProfiler.Shared/Internal/Render.cs +++ b/src/MiniProfiler.Shared/Internal/Render.cs @@ -193,6 +193,10 @@ public static string Includes( sb.Append(options.ColorScheme.ToString()); sb.Append('"'); + sb.Append("\" data-decimal-places=\""); + sb.Append(options.PopupDecimalPlaces.ToString()); + sb.Append('"'); + if (isAuthorized) { sb.Append(" data-authorized=\"true\"");