Kaynağa Gözat

Merge pull request #1944 from porter-dev/nico/por-437-expanded-chart-not-disabling-form-on

[POR-437] Add casing to disable form on preview revisions over Expanded Chart
Nicolas Frati 4 yıl önce
ebeveyn
işleme
b517218f2f

+ 1 - 0
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedChart.tsx

@@ -855,6 +855,7 @@ const ExpandedChart: React.FC<Props> = (props) => {
                     }}
                     renderTabContents={renderTabContents}
                     isReadOnly={
+                      isPreview ||
                       imageIsPlaceholder ||
                       !isAuthorized("application", "", ["get", "update"])
                     }