Tidyup
This commit is contained in:
parent
fa88c68c0e
commit
13f4502967
|
@ -59,7 +59,7 @@
|
||||||
loading = true
|
loading = true
|
||||||
selectedLetter = letter
|
selectedLetter = letter
|
||||||
filteredIcons = findIconByTerm(letter)
|
filteredIcons = findIconByTerm(letter)
|
||||||
await tick()
|
await tick() //svg icons do not update without tick
|
||||||
loading = false
|
loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
if (iconIdx !== -1) {
|
if (iconIdx !== -1) {
|
||||||
currentPage = Math.ceil(iconIdx / maxIconsPerPage)
|
currentPage = Math.ceil(iconIdx / maxIconsPerPage)
|
||||||
}
|
}
|
||||||
await tick()
|
await tick() //svg icons do not update without tick
|
||||||
loading = false
|
loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
} else if (!next && currentPage > 1) {
|
} else if (!next && currentPage > 1) {
|
||||||
currentPage--
|
currentPage--
|
||||||
}
|
}
|
||||||
await tick()
|
await tick() //svg icons do not update without tick
|
||||||
loading = false
|
loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
currentPage = 1
|
currentPage = 1
|
||||||
loading = true
|
loading = true
|
||||||
filteredIcons = findIconByTerm(searchTerm)
|
filteredIcons = findIconByTerm(searchTerm)
|
||||||
await tick()
|
await tick() //svg icons do not update without tick
|
||||||
loading = false
|
loading = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue