1
0
mirror of https://github.com/bitwarden/web synced 2025-12-21 18:53:38 +00:00

revert usage of THING translations

This commit is contained in:
Kyle Spearrin
2018-07-10 08:39:05 -04:00
parent a6bd9ecfa3
commit 5ade229cb9
7 changed files with 102 additions and 94 deletions

View File

@@ -98,8 +98,7 @@ export class GroupsComponent implements OnInit {
try {
await this.apiService.deleteGroup(this.organizationId, group.id);
this.analytics.eventTrack.next({ action: 'Deleted Group' });
this.toasterService.popAsync('success', null,
this.i18nService.t('deletedThing', this.i18nService.t('group').toLocaleLowerCase(), group.name));
this.toasterService.popAsync('success', null, this.i18nService.t('deletedGroupId', group.name));
const index = this.groups.indexOf(group);
if (index > -1) {
this.groups.splice(index, 1);