Skip to content

Commit 5c80392

Browse files
authored
Fix #652 - respect PopupDecimalPlaces in all cases (#655)
1 parent 921601f commit 5c80392

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/Releases.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This page tracks major changes included in any update starting with version 4.0.
1010
- Support for strict CSP (dynamic inline styles removed) ([#634](https://github.com/MiniProfiler/dotnet/pull/634) - thanks [rwasef1830](https://github.com/rwasef1830))
1111
- **Fixes/Changes**:
1212
- Upgraded MongoDB driver, allowing automatic index creation and profiler expiration ([#613](https://github.com/MiniProfiler/dotnet/pull/613) - thanks [IanKemp](https://github.com/IanKemp))
13+
- Fixed [#652](https://github.com/MiniProfiler/dotnet/issues/652): Respect `PopupDecimalPlaces` in all cases ([#655](https://github.com/MiniProfiler/dotnet/pull/655))
1314

1415
#### Version 4.3.8
1516
- **New**:

src/MiniProfiler.Shared/Internal/Render.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ public static string Includes(
193193
sb.Append(options.ColorScheme.ToString());
194194
sb.Append('"');
195195

196+
sb.Append("\" data-decimal-places=\"");
197+
sb.Append(options.PopupDecimalPlaces.ToString());
198+
sb.Append('"');
199+
196200
if (isAuthorized)
197201
{
198202
sb.Append(" data-authorized=\"true\"");

0 commit comments

Comments
 (0)