Skip to content

Commit

Permalink
fix: schema integration (#2463)
Browse files Browse the repository at this point in the history
## Description

site has broken schema integration

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/.github/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
AustinAbro321 committed Apr 25, 2024
1 parent ccc80ae commit e5ab989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/src/components/SchemaItemProperties.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const includesElement = (key: string) => {
const json = await import("../assets/zarf.schema.json");
// @ts-expect-error - We don't import a TS type for the schema, but we know it's structured correctly
const itemSchema = json.definitions[item];
const itemSchema = json["$defs"][item];
if (unwrap) {
unwrap.forEach((wrapped: string) => {
Expand Down

0 comments on commit e5ab989

Please sign in to comment.