Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#3630 from KelvinTegelaar/dev
Browse files Browse the repository at this point in the history
github null safety
  • Loading branch information
JohnDuprey authored Feb 13, 2025
2 parents 0e4d787 + ec49fb7 commit fe6c5d1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion public/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "7.2.0"
"version": "7.2.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/email/spamfilter/list-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/email/transport/list-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/endpoint/MEM/list-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/identity/administration/group-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tenant/conditional/list-template/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tenant/standards/bpa-report/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/tenant/standards/list-standards/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const Page = () => {
},
],
confirmText: "Are you sure you want to save this template to the selected repository?",
condition: () => integrations.isSuccess && integrations?.data?.GitHub.Enabled,
condition: () => integrations.isSuccess && integrations?.data?.GitHub?.Enabled,
},
{
label: "Delete Template",
Expand Down

0 comments on commit fe6c5d1

Please sign in to comment.