This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git
The following commit(s) were added to refs/heads/master by this push:
new edecf49 AIRAVATA-3276 Removing backwards compat
edecf49 is described below
commit edecf49ec50b2353a2c135d5b372748a1ba33eca
Author: Marcus Christie <[email protected]>
AuthorDate: Wed Apr 22 11:46:44 2020 -0400
AIRAVATA-3276 Removing backwards compat
---
.../static/django_airavata_api/js/models/InputDataObjectType.js | 7 -------
1 file changed, 7 deletions(-)
diff --git
a/django_airavata/apps/api/static/django_airavata_api/js/models/InputDataObjectType.js
b/django_airavata/apps/api/static/django_airavata_api/js/models/InputDataObjectType.js
index 243b76d..4947b27 100644
---
a/django_airavata/apps/api/static/django_airavata_api/js/models/InputDataObjectType.js
+++
b/django_airavata/apps/api/static/django_airavata_api/js/models/InputDataObjectType.js
@@ -241,13 +241,6 @@ export default class InputDataObjectType extends BaseModel
{
this.editorDependencies.show
);
if ("showOptions" in this.editorDependencies) {
- // AIRAVATA-3276 For backwards compatibility, can be removed after
- // data migration
- if ("toggle" in this.editorDependencies.showOptions) {
- this.editorDependencies.showOptions.toggle.forEach(prop => {
- this[prop] = this.show;
- });
- }
if (
"isRequired" in this.editorDependencies.showOptions &&
this.editorDependencies.showOptions.isRequired