From 07aaa8fcde18bae38f3b30d5a9ff4d5a9a247cd6 Mon Sep 17 00:00:00 2001 From: Carlos Alcaide Corvo Date: Wed, 10 Nov 2021 14:40:16 -0800 Subject: [PATCH 1/2] Fix typo on description --- addons/core/translations/resources/en-us.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index c52b88323..df2366fe5 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -354,6 +354,6 @@ scope: managed-group: title: Managed Group title_plural: Managed Groups - description: A managed group is a resource that represents a collection of accounts. + description: A managed group represents a collection of accounts. actions: delete: Delete Managed Group From 05cf14e8b4bd1482ade7d577cf1bfa62104a1a10 Mon Sep 17 00:00:00 2001 From: Susmitha Girumala Date: Thu, 11 Nov 2021 10:05:04 -0500 Subject: [PATCH 2/2] style: Remove commented mirage config for managed groups --- addons/api/mirage/config.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/addons/api/mirage/config.js b/addons/api/mirage/config.js index 74c6ad61e..9036f6653 100644 --- a/addons/api/mirage/config.js +++ b/addons/api/mirage/config.js @@ -524,19 +524,6 @@ export default function () { this.get('/managed-groups/:id'); this.del('/managed-groups/:id'); this.post('/managed-groups'); - // this.post( - // '/managed-groups/:idMethod', - // function ({ managedGroups }, { params: { idMethod } }) { - // const attrs = this.normalizedRequestAttrs(); - // const id = idMethod.split(':')[0]; - // const managedGroup = managedGroups.find(id); - // const updatedAttrs = { - // version: attrs.version, - // attributes: managedGroup.attributes, - // }; - // return managedGroup.update(updatedAttrs); - // } - // ); /* Uncomment the following line and the Response import above * Then change the response code to simulate error responses.