Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit 1687207

Browse files
author
Nikolas Haimerl
committed
date
1 parent 71cd87d commit 1687207

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/client/[client].md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ const data = FileAttachment(
2222
<body>This section shows the storage client Spark Retrieval Success Rate Score summary. You can adjust the date range. Records start on the 25th February 2025.</body>
2323

2424
```js
25-
const start = view(Inputs.date({ label: 'Start', value: getDateXDaysAgo(180) }))
25+
const startDate = getDateXDaysAgo(180)
26+
const minStartDate = '2025-02-25'
27+
const start = view(
28+
Inputs.date({
29+
label: 'Start',
30+
value:
31+
new Date(startDate) >= new Date(minStartDate) ? startDate : minStartDate,
32+
}),
33+
)
2634
const end = view(Inputs.date({ label: 'End', value: getDateXDaysAgo(1) }))
2735
```
2836

0 commit comments

Comments
 (0)