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

Commit 38ad7a1

Browse files
Update src/client/[client].md
1 parent 7d058d7 commit 38ad7a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/client/[client].md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ 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(Inputs.date({ label: 'Start', value: new Date(startDate) >= new Date(minStartDate) ? startDate : minStartDate }))
2628
const end = view(Inputs.date({ label: 'End', value: getDateXDaysAgo(1) }))
2729
```
2830

0 commit comments

Comments
 (0)