mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
org export/import
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
$analytics.eventTrack('toolsImportController', { category: 'Modal' });
|
||||
$scope.model = { source: '' };
|
||||
$scope.source = {};
|
||||
$scope.splitFeatured = true;
|
||||
|
||||
$scope.options = [
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user