Skip to content

Commit

Permalink
chore: commented out the null field
Browse files Browse the repository at this point in the history
  • Loading branch information
Usmanfee committed Oct 21, 2024
1 parent cf081ee commit 42bf3cb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/assets/locales/de/servicerelease.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
"heading": "Provider Information",
"message": "If you have any question, want to get in contact or visit the provider website, you can find all necessary information below.",
"homepage": "Homepage",
"email": "E-Mail"
"email": "E-Mail",
"phone": "Telefon"
},
"technicalUserSetup": {
"heading": "Technical User Setup",
Expand Down
3 changes: 2 additions & 1 deletion src/assets/locales/en/servicerelease.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,8 @@
"heading": "Provider Information",
"message": "If you have any question, want to get in contact or visit the provider website, you can find all necessary information below.",
"homepage": "Homepage",
"email": "E-Mail"
"email": "E-Mail",
"phone": "Phone"
},
"technicalUserSetup": {
"heading": "Technical User Setup",
Expand Down
3 changes: 3 additions & 0 deletions src/components/pages/ServiceAdminBoardDetail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export default function ServiceAdminBoardDetail() {
head: [
t('adminboardDetail.provider.homepage'),
t('adminboardDetail.provider.email'),
t('adminboardDetail.provider.phone'),
],
body: [
[
Expand All @@ -274,6 +275,8 @@ export default function ServiceAdminBoardDetail() {
: serviceData.providerUri,
],
[serviceData?.contactEmail],
// TODO: contactNumber is null atm and causing build failure. Once BE resolve the issue then will un-comment this line
// [serviceData?.contactNumber],
],
}}
horizontal={true}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ export default function ServiceDetails() {
body: [
[fetchServiceStatus?.providerUri],
[fetchServiceStatus?.contactEmail],
[fetchServiceStatus?.contactNumber],
// TODO: contactNumber is null atm and causing build failure. Once BE resolve the issue then will un-comment this line
// [fetchServiceStatus?.contactNumber],
],
}}
horizontal={true}
Expand Down

0 comments on commit 42bf3cb

Please sign in to comment.