-
-
-
-
-
-
- {{pagination.current_page}} / {{Math.ceil(passwords.length/pagination.per_page)}}
-
-
-
+
+
+
+ {{$t('NoMatchFor', 'Oops! There are no matches for')}} "{{searchQuery}}".
+ {{$t('UpdateYourSearch', 'Please try broadening your search.')}}
+
+
+
@@ -75,10 +89,6 @@
import PasswordProfile from '../components/PasswordProfile.vue';
import {mapGetters} from 'vuex';
- function fetchPasswords(store) {
- return store.dispatch('getPasswords')
- }
-
export default {
name: 'passwords-view',
data(){
@@ -86,7 +96,7 @@
searchQuery: '',
pagination: {
number_of_pages: 1,
- per_page: 5,
+ per_page: 4,
current_page: 1
},
}
@@ -106,10 +116,6 @@
this.pagination.current_page * this.pagination.per_page
);
}
- },
- preFetch: fetchPasswords,
- beforeMount () {
- fetchPasswords(this.$store);
- },
+ }
}