Update webapp/components/_new/generic/BaseIcon/BaseIcon.vue

Co-Authored-By: mattwr18 <mattwr18@gmail.com>
This commit is contained in:
Alina Beck 2019-11-25 13:39:52 +03:00 committed by GitHub
parent a158a88044
commit 171d876bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ export default {
type: String,
required: true,
validator(value) {
return iconNames.indexOf(value) !== -1
return iconNames.includes(value)
},
},
},