fix(fe2): Up limit on objectKeys in ViewerSelectionObject (#3905)
* Up limit to 100 * Add comment
This commit is contained in:
committed by
GitHub
parent
11993c7896
commit
7b2bf9490e
@@ -288,8 +288,8 @@ const keyValuePairs = computed(() => {
|
||||
arrayLength = arr.length
|
||||
if (arr.length > 0) {
|
||||
innerType = Array.isArray(arr[0]) ? 'array' : typeof arr[0]
|
||||
arrayPreview = arr.slice(0, 3).join(', ')
|
||||
if (arr.length > 10) arrayPreview += ' ...' // in case truncate doesn't hit
|
||||
// We truncate this above with css - but limit to 100 to limit dom size
|
||||
arrayPreview = arr.slice(0, 100).join(', ')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user