Skip to content

Commit fe6c5d1

Browse files
authored
Merge pull request KelvinTegelaar#3630 from KelvinTegelaar/dev
github null safety
2 parents 0e4d787 + ec49fb7 commit fe6c5d1

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

public/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "7.2.0"
2+
"version": "7.2.1"
33
}

src/pages/email/spamfilter/list-connectionfilter-templates/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Page = () => {
5353
},
5454
],
5555
confirmText: "Are you sure you want to save this template to the selected repository?",
56-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
56+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
5757
},
5858
{
5959
label: "Delete Template",

src/pages/email/spamfilter/list-templates/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const Page = () => {
5353
},
5454
],
5555
confirmText: "Are you sure you want to save this template to the selected repository?",
56-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
56+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
5757
},
5858
{
5959
label: "Delete Template",

src/pages/email/transport/list-connector-templates/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const Page = () => {
5757
},
5858
],
5959
confirmText: "Are you sure you want to save this template to the selected repository?",
60-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
60+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
6161
},
6262
{
6363
label: "Delete Template",

src/pages/email/transport/list-templates/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const Page = () => {
5555
},
5656
],
5757
confirmText: "Are you sure you want to save this template to the selected repository?",
58-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
58+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
5959
},
6060
{
6161
label: "Delete Template",

src/pages/endpoint/MEM/list-templates/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const Page = () => {
7777
},
7878
],
7979
confirmText: "Are you sure you want to save this template to the selected repository?",
80-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
80+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
8181
},
8282
{
8383
label: "Delete Template",

src/pages/identity/administration/group-templates/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const Page = () => {
5555
},
5656
],
5757
confirmText: "Are you sure you want to save this template to the selected repository?",
58-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
58+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
5959
},
6060
{
6161
label: "Delete Template",

src/pages/tenant/conditional/list-template/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const Page = () => {
5454
},
5555
],
5656
confirmText: "Are you sure you want to save this template to the selected repository?",
57-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
57+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
5858
},
5959
{
6060
label: "Delete Template",

src/pages/tenant/standards/bpa-report/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const Page = () => {
7777
},
7878
],
7979
confirmText: "Are you sure you want to save this template to the selected repository?",
80-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
80+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
8181
},
8282
{
8383
label: "Delete Template",

src/pages/tenant/standards/list-standards/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const Page = () => {
9595
},
9696
],
9797
confirmText: "Are you sure you want to save this template to the selected repository?",
98-
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
98+
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
9999
},
100100
{
101101
label: "Delete Template",

0 commit comments

Comments
 (0)