From be264c2165c672ff092ce84dc6fbeb466897ad17 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Sat, 28 Mar 2026 17:28:51 +0100 Subject: [PATCH] partner can only see and not edit network provider and external ems --- .../dashboards/Information/InformationSodistoreHome.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx b/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx index 937376d82..d29a32c47 100644 --- a/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx +++ b/typescript/frontend-marios2/src/content/dashboards/Information/InformationSodistoreHome.tsx @@ -686,7 +686,7 @@ function InformationSodistorehome(props: InformationSodistorehomeProps) { onInputChange={(_e, val) => setFormValues({ ...formValues, networkProvider: val || '' }) } - disabled={!canEdit && !isPartner} + disabled={!canEdit} loading={loadingProviders} renderInput={(params) => ( Solar Manager @@ -757,7 +757,7 @@ function InformationSodistorehome(props: InformationSodistorehomeProps) { onChange={handleChange} variant="outlined" fullWidth - inputProps={{ readOnly: !canEdit && !isPartner }} + inputProps={{ readOnly: !canEdit }} /> )}