mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
fix typos (#17620)
This commit is contained in:
@@ -56,7 +56,7 @@ export default class InfoTableItemArray extends Component {
|
||||
get displayArrayTruncated() {
|
||||
let { displayArray } = this.args;
|
||||
if (!displayArray) return null;
|
||||
if ((displayArray.length >= 10) & !this.args.doNotTruncate) {
|
||||
if (displayArray.length >= 10 && !this.args.doNotTruncate) {
|
||||
// if array greater than 10 in length only display the first 5
|
||||
return displayArray.slice(0, 5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user