Изменил размер страницы

This commit is contained in:
saber-nyan 2019-05-19 10:50:00 +03:00
parent 2b6c1c45c2
commit 156a1ef5d4
No known key found for this signature in database
GPG Key ID: 7B069E9C295E6B4A
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ export default {
});
},
onGotNewStream(stream) {
if (this.streams.length > 50) {
if (this.streams.length > this.$store.state.pageSize * 2) {
this.streams.pop();
}
this.streams.unshift(stream);

View File

@ -11,7 +11,7 @@ export default new Vuex.Store({
apiPassword: '123456',
hexdumpBlockSize: 16,
hexdumpLineNumberBase: 10,
pageSize: 50,
pageSize: 25,
displayFavOnly: false,
},
mutations: {