Skip to content

Commit

Permalink
Fix TS issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vmatsiiako committed Feb 21, 2023
1 parent ea5811c commit bdc99e3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/pages/dashboard/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,15 @@ export default function Dashboard() {

setSelectedEnv({
name: accessibleEnvironments?.[index]?.name as string,
slug: query.env as string
slug: query.env as string,
isWriteDenied: accessibleEnvironments?.[index]?.isWriteDenied as boolean,
isReadDenied: accessibleEnvironments?.[index]?.isReadDenied as boolean
})
setSelectedSnapshotEnv({
name: accessibleEnvironments?.[index]?.name as string,
slug: query.env as string
slug: query.env as string,
isWriteDenied: accessibleEnvironments?.[index]?.isWriteDenied as boolean,
isReadDenied: accessibleEnvironments?.[index]?.isReadDenied as boolean
})

}
Expand Down

0 comments on commit bdc99e3

Please sign in to comment.