Migrated progress bar and progress editor to vuex.

This commit is contained in:
krzysiej
2022-06-14 15:19:21 +02:00
parent 8dbd63478d
commit 5350c5c46b
10 changed files with 131 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div>
<input type="text" class="form-control" v-model="searchTerm" @keydown.enter="search"/>
<input type="text" class="form-control" placeholder="search by title" v-model="searchTerm" @keydown.enter="search"/>
<table class="table">
<thead>
<tr>
@@ -58,7 +58,6 @@ export default {
'findAll'
]),
search: function () {
this.$store.commit('increment')
this.updateHistory();
this.findAll(this.searchTerm);
},