1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

org export/import

This commit is contained in:
Kyle Spearrin
2017-09-06 09:05:53 -04:00
parent ff9030e7af
commit aaa91e50b7
10 changed files with 345 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
angular
.module('bit.tools')
.controller('toolsExportController', function ($scope, apiService, authService, $uibModalInstance, cryptoService,
cipherService, $q, toastr, $analytics) {
.controller('toolsExportController', function ($scope, apiService, $uibModalInstance, cipherService, $q,
toastr, $analytics) {
$analytics.eventTrack('toolsExportController', { category: 'Modal' });
$scope.export = function (model) {
$scope.startedExport = true;

View File

@@ -6,6 +6,7 @@
$analytics.eventTrack('toolsImportController', { category: 'Modal' });
$scope.model = { source: '' };
$scope.source = {};
$scope.splitFeatured = true;
$scope.options = [
{

View File

@@ -16,7 +16,7 @@
<option value="">-- Select --</option>
<option ng-repeat="option in options | filter: { featured: true } | orderBy: ['sort', 'name']"
value="{{option.id}}">{{option.name}}</option>
<option value="-" disabled></option>
<option value="-" disabled ng-if="splitFeatured"></option>
<option ng-repeat="option in options | filter: { featured: '!true' } | orderBy: ['sort', 'name']"
value="{{option.id}}">{{option.name}}</option>
</select>