Skip to content

Commit

Permalink
do not clear search on go to packageDetail via searchbar
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Nov 26, 2018
1 parent d4b463b commit 2930fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export default class App extends Vue {
for (const value of values) {
if (value instanceof Package) {
router.push(`/package/${value.name}`);
this.$refs.searchbar.clearableCallback();
this.$refs.searchbar.selectedItems.pop();
setTimeout(this.$refs.searchbar.blur, 100);
}
}
Expand Down

0 comments on commit 2930fb3

Please sign in to comment.