Add option to press enter to search for timestamp
Change-Id: Idaae216df04c34cdc73e796379c5358736661010
diff --git a/tools/winscope/src/Searchbar.vue b/tools/winscope/src/Searchbar.vue
index f893122..50aca7b 100644
--- a/tools/winscope/src/Searchbar.vue
+++ b/tools/winscope/src/Searchbar.vue
@@ -23,7 +23,7 @@
</md-button>
<md-field class="search-input">
<label>Enter timestamp</label>
- <md-input v-model="searchInput"></md-input>
+ <md-input v-model="searchInput" @keyup.enter.native="updateSearchForTimestamp" />
</md-field>
</div>
@@ -305,4 +305,4 @@
background: #9af39f;
cursor: pointer;
}
-</style>
\ No newline at end of file
+</style>