From f1d7101560356d928a8200d992a973ecf1a7ebb0 Mon Sep 17 00:00:00 2001 From: Dmitry Sadovsky Date: Thu, 26 Jan 2023 13:19:15 +0300 Subject: [PATCH] remove deprecated computed from resource mixin --- src/mixins/resource.js | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/src/mixins/resource.js b/src/mixins/resource.js index 8c433d49..86cee9b4 100644 --- a/src/mixins/resource.js +++ b/src/mixins/resource.js @@ -35,26 +35,6 @@ export default { return this.vrf.wrapper[propertyName] } ]) - ), - ...Object.fromEntries( - [ - 'vuex', - 'fetching', - 'resource', - 'formDisabled', - 'rootResource' - ].map(propertyName => [ - propertyName, - function() { - console.warn(`[vrf] Field ${propertyName} in Resource mixin deprecated, use $${propertyName} instead.`); - - return this.vrf.wrapper[propertyName] - } - ]) - ), - resources: function() { - console.warn('[vrf] Field resources in Resource mixin deprecated, use $sources instead.'); - return this.$sources; - } + ) } }