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

rename select functions

This commit is contained in:
Kyle Spearrin
2018-04-05 09:11:56 -04:00
parent d9ff799681
commit b5f9920a92
2 changed files with 13 additions and 13 deletions

View File

@@ -55,25 +55,25 @@ export class GroupingsComponent {
this.folders = await this.folderService.getAllDecrypted();
}
all() {
selectAll() {
this.clearSelections();
this.selectedAll = true;
this.onAllClicked.emit();
}
favorites() {
selectFavorites() {
this.clearSelections();
this.selectedFavorites = true;
this.onFavoritesClicked.emit();
}
type(type: CipherType) {
selectType(type: CipherType) {
this.clearSelections();
this.selectedType = type;
this.onCipherTypeClicked.emit(type);
}
folder(folder: FolderView) {
selectFolder(folder: FolderView) {
this.clearSelections();
this.selectedFolder = true;
this.selectedFolderId = folder.id;
@@ -88,7 +88,7 @@ export class GroupingsComponent {
this.onEditFolder.emit(folder);
}
collection(collection: CollectionView) {
selectCollection(collection: CollectionView) {
this.clearSelections();
this.selectedCollectionId = collection.id;
this.onCollectionClicked.emit(collection);