1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

Redefine cipher "share" to "move to organization" (#1039)

* Redefine cipher "share" to "move to organization"

* Bump jslib

Co-authored-by: = <=>
This commit is contained in:
Matt Gibson
2021-06-21 19:27:27 -04:00
committed by GitHub
parent d6d71c94f5
commit f8a7439675
14 changed files with 58 additions and 38 deletions

View File

@@ -71,7 +71,8 @@ export class BulkShareComponent implements OnInit {
checkedCollectionIds);
await this.formPromise;
this.onShared.emit();
this.toasterService.popAsync('success', null, this.i18nService.t('sharedItems'));
const orgName = this.organizations.find(o => o.id === this.organizationId)?.name ?? this.i18nService.t('organization');
this.toasterService.popAsync('success', null, this.i18nService.t('movedItemsToOrg', orgName));
} catch { }
}