File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/vfjs-global-mixin/methods/vfjs-helpers Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,18 +254,18 @@ const vfjsHelpers = {
254254 }
255255
256256 if ( Array . isArray ( dynamicOptions ) ) {
257- return dynamicOptions . reduce ( ( properties , { schema, model, ... dynamicProperties } ) => {
257+ return dynamicOptions . reduce ( ( properties , { schema, model, options } ) => {
258258 if ( this . vfjsHelperSchemaHasErrors ( schema , model ) ) {
259- return merge ( properties , dynamicProperties ) ;
259+ return merge ( properties , options ) ;
260260 }
261261
262262 return properties ;
263263 } ) ;
264264 }
265265
266- const { schema, model, ... dynamicProperties } = dynamicOptions ;
266+ const { schema, model, options } = dynamicOptions ;
267267 if ( this . vfjsHelperSchemaHasErrors ( schema , model ) ) {
268- return dynamicProperties ;
268+ return options ;
269269 }
270270
271271 return null ;
You can’t perform that action at this time.
0 commit comments