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 10, 2024
1 parent c03d123 commit cfd9a11
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 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 @@ -261,10 +261,6 @@ export default function ServiceDetails() {
<Typography variant="h4" sx={{ mb: 4 }}>
{t('step4.providerInformation')}
</Typography>

{/* "website": "Webseite",
"email": "E-Mail",
"phone": "Telefon" */}
<StaticTable
data={{
head: [
Expand All @@ -275,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 cfd9a11

Please sign in to comment.