|
@@ -143,7 +143,7 @@ export const PorterFormContextProvider: React.FC<Props> = (props) => {
|
|
|
|
|
|
|
|
let scopedVars = {};
|
|
let scopedVars = {};
|
|
|
|
|
|
|
|
- if (data.isClusterScoped) {
|
|
|
|
|
|
|
+ if (data?.isClusterScoped) {
|
|
|
scopedVars = {
|
|
scopedVars = {
|
|
|
"currentCluster.service.is_gcp":
|
|
"currentCluster.service.is_gcp":
|
|
|
context.currentCluster?.service == "gke",
|
|
context.currentCluster?.service == "gke",
|