mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
[Typecript] Convert current (#372)
* Convert current controller to component. * Remove unessesary $ctrl.loaded checks. * Fix bindings for callbacks. * Re-format html. * Add UtilService interface to current component. * Set sucessfully to boolean, change setTimeout to $timeout.
This commit is contained in:
committed by
Kyle Spearrin
parent
0c8dc0c3ec
commit
c6c8042ecf
@@ -9,11 +9,11 @@ class CipherItemsController implements ng.IController {
|
||||
}
|
||||
|
||||
view(cipher: any) {
|
||||
return this.onView()(cipher);
|
||||
return this.onView({cipher});
|
||||
}
|
||||
|
||||
select(cipher: any) {
|
||||
return this.onSelected()(cipher);
|
||||
return this.onSelected({cipher});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user