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

This commit is contained in:
Moriz Wahl 2023-02-03 20:18:53 +01:00 committed by GitHub
parent 80aba4c955
commit a4fd558a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ export default {
type: String,
default: 'regular',
validator(value) {
return value.match(/(small|regular|large)/)
return value.match(/^(small|regular|large)$/)
},
},
},