Skip to content

Commit 259462d

Browse files
committed
chore: eslint fixes
1 parent ab582e6 commit 259462d

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

ui/src/components/QIconPicker.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export default {
4545
mounted () {
4646
if (this.iconSet) {
4747
this.__loadIconSet(this.iconSet)
48-
} else if (this.icons !== void 0 && this.icons.length > 0) {
48+
}
49+
else if (this.icons !== void 0 && this.icons.length > 0) {
4950
this.iconsList = this.icons
5051
}
5152
this.__updatePagination()
@@ -190,17 +191,20 @@ export default {
190191
if (window.QIconPicker.iconSet && window.QIconPicker.iconSet[name]) {
191192
const iconsSet = window.QIconPicker.iconSet[name]
192193
this.iconsList = iconsSet.icons
193-
} else {
194+
}
195+
else {
194196
/* eslint-disable */
195197
console.error('QIconPicker: no icon set loaded called ' + iconSet +'\'')
196198
console.error('Be sure to load the UMD version of the icon set in a script tag before using QIconPicker UMD version')
197199
/* eslint-enable */
198200
}
199-
} else {
201+
}
202+
else {
200203
try {
201204
const iconsSet = require('@quasar/quasar-ui-qiconpicker/src/components/icon-set/' + iconSet + '.js').default
202205
this.iconsList = iconsSet.icons
203-
} catch (e) {
206+
}
207+
catch (e) {
204208
// eslint-disable-next-line no-console
205209
console.error('QIconPicker: cannot find icon set found called ' + iconSet + '\'')
206210
}
@@ -238,7 +242,8 @@ export default {
238242

239243
if (this.pagination) {
240244
this.$emit('update:pagination', newPagination)
241-
} else {
245+
}
246+
else {
242247
this.innerPagination = newPagination
243248
}
244249
},

0 commit comments

Comments
 (0)