1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

more preprocessing for self host

This commit is contained in:
Kyle Spearrin
2017-08-15 10:05:39 -04:00
parent 635caa9ad0
commit 4d25077108
7 changed files with 66 additions and 11 deletions

View File

@@ -1,8 +1,12 @@
angular
.module('bit.organization')
.controller('settingsBillingChangePaymentController', function ($scope, $state, $uibModalInstance, apiService, stripe,
$analytics, toastr, existingPaymentMethod, appSettings, $timeout) {
.controller('settingsBillingChangePaymentController', function ($scope, $state, $uibModalInstance, apiService,
$analytics, toastr, existingPaymentMethod, appSettings, $timeout
// @if !selfHosted
, stripe
// @endif
) {
$analytics.eventTrack('settingsBillingChangePaymentController', { category: 'Modal' });
$scope.existingPaymentMethod = existingPaymentMethod;
$scope.paymentMethod = 'card';