Skip to content

Commit

Permalink
Merge pull request #1579 from bcgov/fix/contacts-spacing
Browse files Browse the repository at this point in the history
Fixes some spacing for contacts pages and fixes date issue
  • Loading branch information
mightycox authored Oct 13, 2023
2 parents 8722bec + adfa65e commit 7f3c41a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 0 additions & 7 deletions backend/src/components/edx/exchange.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ async function getExchanges(req, res) {
element['contactIdentifierName'] = tempMinTeam.teamName;
}
}
if (element['createDate']) {
element['createDate'] = LocalDateTime.parse(element['createDate']).format(DateTimeFormatter.ofPattern('uuuu/MM/dd'));
}
});
}
return res.status(200).json(dataResponse);
Expand Down Expand Up @@ -190,10 +187,6 @@ async function getExchange(req, res) {
dataResponse['districtName'] = district.name;
}

if (dataResponse['createDate']) {
dataResponse['createDate'] = LocalDateTime.parse(dataResponse['createDate']).format(DateTimeFormatter.ofPattern('uuuu/MM/dd'));
}

//creating activities list for timeline display on the frontend
dataResponse['activities'] = [];
dataResponse['commentsList'].forEach((comment) => {
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/components/institute/AuthoritiesContacts.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@
<div
v-for="authorityContactType in authorityContactTypes"
:key="authorityContactType.code"
class="pb-4"
>
<v-row>
<v-col>
<v-col class="pb-0">
<h2
id="authorityTypeLabel"
style="color:#1A5A96"
Expand All @@ -114,6 +115,7 @@
<v-col
v-for="contact in authorityContacts.get(authorityContactType.authorityContactTypeCode)"
:key="contact.independentAuthorityId"
class="pt-0"
cols="5"
lg="4"
>
Expand All @@ -129,7 +131,7 @@
v-else
cols="2"
>
<v-col>
<v-col class="pt-0">
<p>No contacts of this type have been listed.</p>
</v-col>
</v-row>
Expand Down

0 comments on commit 7f3c41a

Please sign in to comment.