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 6b233474..1282bad8 100644 --- a/client/src/containers/projects/custom-project/header/parameters/index.tsx +++ b/client/src/containers/projects/custom-project/header/parameters/index.tsx @@ -26,6 +26,7 @@ export const PROJECT_PARAMETERS = [ key: FILTER_KEYS[3], label: "Project size", className: "w-[125px]", + disabled: false, options: [ { label: COST_TYPE_SELECTOR.NPV, @@ -41,6 +42,7 @@ export const PROJECT_PARAMETERS = [ key: FILTER_KEYS[2], label: "Carbon pricing type", className: "w-[195px]", + disabled: true, options: [ { label: PROJECT_PRICE_TYPE.MARKET_PRICE, @@ -81,19 +83,14 @@ 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 2757a124..46337042 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.MARKET_PRICE, + priceType: PROJECT_PRICE_TYPE.OPEN_BREAK_EVEN_PRICE, costRangeSelector: COST_TYPE_SELECTOR.NPV, };