diff --git a/src/components/Clamp.js b/src/components/Clamp.js index 807b9d0..39085d0 100644 --- a/src/components/Clamp.js +++ b/src/components/Clamp.js @@ -20,8 +20,8 @@ export default { location: { type: String, default: 'end', - validator: function (value) { - return ['start', 'middle', 'end'].includes(value) + validator (value) { + return ['start', 'middle', 'end'].indexOf(value) !== -1 } }, expanded: Boolean