This commit is contained in:
Dennis Reimann 2024-06-10 19:10:48 +02:00
parent 6bc5c12051
commit dd99a7b32d
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

@ -266,6 +266,7 @@ const posCommon = {
return inSearch && inCategories
},
updateDisplay() {
if (!this.$refs.posItems) return;
this.forEachItem(item => {
item.classList[this.displayItem(item) ? 'add' : 'remove']('posItem--displayed')
item.classList.remove('posItem--first')