We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72bd0b6 commit fb32d4fCopy full SHA for fb32d4f
ui/src/components/QIconPicker.js
@@ -256,14 +256,16 @@ export default {
256
},
257
258
__getCategories () {
259
- let t = []
+ const t = []
260
this.iconsList.forEach(icon => {
261
const tags = icon.tags
262
- tags.forEach(tag => {
263
- if (t.includes(tag) !== true) {
264
- t.push(tag)
265
- }
266
- })
+ if (tags && tags.length > 0) {
+ tags.forEach(tag => {
+ if (t.includes(tag) !== true) {
+ t.push(tag)
+ }
267
+ })
268
269
})
270
t.sort()
271
this.categories = t
0 commit comments