Skip to content

Commit 9334996

Browse files
committed
fix(types): name the sites field's placeholder and read the optional own-reads list
1 parent 3f705be commit 9334996

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎apps/sim/app/(product)/o/[organizationId]/integrations/_components/credential-detail/credential-detail.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ export function CredentialDetail({
204204
{sites && sites.length > 0 && (
205205
<TextAreaField
206206
label='Sites'
207+
placeholder='Sites'
207208
value={sites.map((site) => `${site.name} (${siteHost(site.url)})`).join('\n')}
208209
viewOnly
209210
/>

‎apps/sim/scripts/org-redesign-e2e/checks/first-paint.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,7 @@ export async function firstPaintChecks() {
203203
.map(([label, count]) => `${label} x${count}`)
204204
const perWorkspaceReads = labelled.filter((label) => {
205205
const path = label.replace(/^\S+ /, '')
206-
return (
207-
isPerWorkspaceRead(path) &&
208-
!('ownReads' in entry && entry.ownReads.some((read) => read.test(path)))
209-
)
206+
return isPerWorkspaceRead(path) && !entry.ownReads?.some((read) => read.test(path))
210207
})
211208
const refetched = entry.prefetched.flatMap(({ label, pattern }) =>
212209
api.some(({ method, path }) => method === 'GET' && pattern.test(path)) ? [label] : []

0 commit comments

Comments
 (0)