Skip to content

Commit

Permalink
chore: update component library 2.25.3 (#607)
Browse files Browse the repository at this point in the history
* update component library

* update test
  • Loading branch information
aprigge authored Jan 11, 2023
1 parent 22fc5c4 commit 786dd95
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 18 deletions.
6 changes: 5 additions & 1 deletion cypress/integration/homepage.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ describe("Website Homepage", () => {
.and("contain", "UC Library Search")
cy.get(".masthead-primary")
.find("input.input-search")
.should("have.attr", "placeholder", "Search articles, books, and more")
.should(
"have.attr",
"placeholder",
"Search articles, books and more"
)
cy.get(".masthead-primary")
.contains("a", "Databases A-Z")
.should(
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"sass": "^1.45.2",
"sass-loader": "^10.1.1",
"ucla-library-design-tokens": "^5.4.1",
"ucla-library-website-components": "^2.25.1",
"ucla-library-website-components": "^2.25.3",
"vue-svg-loader": "^0.16.0",
"vue-template-compiler": "^2.6.12"
}
Expand Down
26 changes: 17 additions & 9 deletions pages/about/staff/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@
</tr>
</tbody>
</table>
<h4 v-else>
<!-- <h4 v-else>
No results found
</h4>
</h4> -->
</section-wrapper>
</div>
</main>
Expand Down Expand Up @@ -218,11 +218,11 @@ export default {
return {
title: title,
meta: [
{
hid: 'description',
name: 'description',
content: metaDescription
}
{
hid: "description",
name: "description",
content: metaDescription,
},
],
}
},
Expand Down Expand Up @@ -276,8 +276,16 @@ export default {
obj.alternativeName.length > 0
? `${obj.nameFirst} ${obj.nameLast} ${obj.alternativeName[0].fullName}`
: `${obj.nameFirst} ${obj.nameLast}`,
language:_get(obj, "alternativeName[0].languageAltName", null),
alternativeFullName: _get(obj, "alternativeName[0].fullName", null),
language: _get(
obj,
"alternativeName[0].languageAltName",
null
),
alternativeFullName: _get(
obj,
"alternativeName[0].fullName",
null
),
}
})
},
Expand Down

4 comments on commit 786dd95

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.