diff --git a/client/src/app/(overview)/url-store.ts b/client/src/app/(overview)/url-store.ts index 7deef6d9..5aff30ce 100644 --- a/client/src/app/(overview)/url-store.ts +++ b/client/src/app/(overview)/url-store.ts @@ -39,7 +39,7 @@ export const filtersSchema = z.object({ export const INITIAL_FILTERS_STATE: z.infer = { keyword: "", projectSizeFilter: PROJECT_SIZE_FILTER.MEDIUM, - priceType: PROJECT_PRICE_TYPE.OPEN_BREAK_EVEN_PRICE, + priceType: PROJECT_PRICE_TYPE.MARKET_PRICE, costRangeSelector: COST_TYPE_SELECTOR.NPV, countryCode: "", ecosystem: [], diff --git a/client/src/containers/overview/header/parameters/index.tsx b/client/src/containers/overview/header/parameters/index.tsx index e80a52e6..e54e32ad 100644 --- a/client/src/containers/overview/header/parameters/index.tsx +++ b/client/src/containers/overview/header/parameters/index.tsx @@ -104,7 +104,13 @@ export default function ParametersProjects() { {parameter.options.map((option) => ( - + {option.label} ))} diff --git a/client/src/containers/overview/project-details/parameters/index.tsx b/client/src/containers/overview/project-details/parameters/index.tsx index afd78739..774ace6f 100644 --- a/client/src/containers/overview/project-details/parameters/index.tsx +++ b/client/src/containers/overview/project-details/parameters/index.tsx @@ -20,7 +20,7 @@ import { const INITIAL_FILTERS_STATE: Partial> = { projectSizeFilter: PROJECT_SIZE_FILTER.MEDIUM, - priceType: PROJECT_PRICE_TYPE.OPEN_BREAK_EVEN_PRICE, + priceType: PROJECT_PRICE_TYPE.MARKET_PRICE, costRangeSelector: COST_TYPE_SELECTOR.NPV, }; @@ -109,7 +109,13 @@ export default function ParametersProjects() { {parameter.options.map((option) => ( - + {option.label} ))} diff --git a/client/src/containers/projects/custom-project/header/parameters/index.tsx b/client/src/containers/projects/custom-project/header/parameters/index.tsx index 1282bad8..6b233474 100644 --- a/client/src/containers/projects/custom-project/header/parameters/index.tsx +++ b/client/src/containers/projects/custom-project/header/parameters/index.tsx @@ -26,7 +26,6 @@ export const PROJECT_PARAMETERS = [ key: FILTER_KEYS[3], label: "Project size", className: "w-[125px]", - disabled: false, options: [ { label: COST_TYPE_SELECTOR.NPV, @@ -42,7 +41,6 @@ export const PROJECT_PARAMETERS = [ key: FILTER_KEYS[2], label: "Carbon pricing type", className: "w-[195px]", - disabled: true, options: [ { label: PROJECT_PRICE_TYPE.MARKET_PRICE, @@ -83,14 +81,19 @@ export default function CustomProjectParameters() { onValueChange={(v) => { handleParameters(v, parameter.key); }} - disabled={parameter.disabled} > {parameter.options.map((option) => ( - + {option.label} ))} diff --git a/client/src/containers/projects/url-store.ts b/client/src/containers/projects/url-store.ts index 46337042..2757a124 100644 --- a/client/src/containers/projects/url-store.ts +++ b/client/src/containers/projects/url-store.ts @@ -13,7 +13,7 @@ export const filtersSchema = z.object({ }); export const INITIAL_FILTERS_STATE: z.infer = { - priceType: PROJECT_PRICE_TYPE.OPEN_BREAK_EVEN_PRICE, + priceType: PROJECT_PRICE_TYPE.MARKET_PRICE, costRangeSelector: COST_TYPE_SELECTOR.NPV, };