From 5ef2644ff193be96ca30cd09a512e7b2e77d23e2 Mon Sep 17 00:00:00 2001 From: Stefan Topfstedt Date: Wed, 30 Oct 2024 13:30:54 -0700 Subject: [PATCH] rm deprecation warning and support for legacy input arg. --- .../addon/components/validation-error.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/packages/ilios-common/addon/components/validation-error.js b/packages/ilios-common/addon/components/validation-error.js index eb851f3871..cfe5d52b5a 100644 --- a/packages/ilios-common/addon/components/validation-error.js +++ b/packages/ilios-common/addon/components/validation-error.js @@ -1,6 +1,5 @@ import Component from '@glimmer/component'; import { cached } from '@glimmer/tracking'; -import { deprecate } from '@ember/debug'; import { TrackedAsyncData } from 'ember-async-data'; export default class ValidationError extends Component { @@ -10,22 +9,6 @@ export default class ValidationError extends Component { } get errors() { - if (this.args.errors) { - deprecate( - `Passing @errors to ValidationError is deprecated, use @errorsFor instead.`, - false, - { - id: 'common.validation-error-error-arg', - for: 'ilios-common', - since: { - available: '87.1.0', - enabled: '87.1.0', - }, - until: '88.0.0', - }, - ); - return this.args.errors; - } return this.errorsForData.isResolved ? this.errorsForData.value : []; } }