mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
Delete site/folder
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
angular
|
||||
angular
|
||||
.module('bit.vault')
|
||||
|
||||
.controller('vaultViewSiteController', function ($scope, $state, $stateParams, siteService, tldjs, toastr, $q) {
|
||||
@@ -7,6 +7,10 @@
|
||||
|
||||
$scope.site = null;
|
||||
siteService.get($stateParams.siteId, function (site) {
|
||||
if (!site) {
|
||||
return;
|
||||
}
|
||||
|
||||
$q.when(site.decrypt()).then(function (model) {
|
||||
$scope.site = model;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user