Skip to content

Commit

Permalink
fix(options): fix fetch path error
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsJohansen87 committed Sep 9, 2024
1 parent 5c5563e commit d53823d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/demo/src/AppCCP.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
if (import.meta.env.VITE_TARGET_ENVIRONMENT === "production") {
catalogueUrl = "catalogues/catalogue-dktk.json";
optionsFilePath = "options.json";
optionsFilePath = "options-ccp-prod.json";
} else {
catalogueUrl = "catalogues/catalogue-dktk-staging.json";
optionsFilePath = "options-ccp-demo.json";
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/src/types/treeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export type Category =
key: string;
name: string;
system?: string;
fieldType: "single-select" | "autocomplete" | "number";
fieldType: "single-select" | "autocomplete" | "number" | "date";
type: "EQUALS" | "BETWEEN";
min?: number;
max?: number;
Expand Down

0 comments on commit d53823d

Please sign in to comment.