added loading animation to main search page

This commit is contained in:
vabene1111
2022-09-15 20:53:22 +02:00
parent 459be74a7c
commit e06c82297d
2 changed files with 114 additions and 56 deletions

View File

@ -1115,6 +1115,9 @@ export default {
},
},
mounted() {
this.recipes = Array(this.ui.page_size).fill({loading:true})
this.$nextTick(function () {
if (this.$cookies.isKey(UI_COOKIE_NAME)) {
this.ui = Object.assign({}, this.ui, this.$cookies.get(UI_COOKIE_NAME))