diff --git a/tools/winscope/src/TransactionsView.vue b/tools/winscope/src/TransactionsView.vue index d2ac62cb0..47164d4fe 100644 --- a/tools/winscope/src/TransactionsView.vue +++ b/tools/winscope/src/TransactionsView.vue @@ -40,15 +40,17 @@
- - - - + + + + + {{ property }} + + +
@@ -197,7 +199,7 @@ export default { searchInput: '', selectedTree: null, filters: [], - selectedProperty: null, + selectedProperties: [], selectedTransaction: null, transactionEntryComponent: TransactionEntry, transactionsTrace, @@ -252,12 +254,12 @@ export default { ); } - if (this.selectedProperty) { + if (this.selectedProperties.length > 0) { + const regexFilter = new RegExp(this.selectedProperties.join("|"), "i"); filteredData = filteredData.filter( this.filterTransactions((transaction) => { for (const key in transaction.obj) { - if (this.isMeaningfulChange(transaction.obj, key) && - key === this.selectedProperty) { + if (this.isMeaningfulChange(transaction.obj, key) && regexFilter.test(key)) { return true; } }