view logs in UX
This commit is contained in:
parent
6723cba56a
commit
f47d6b0564
16 changed files with 188 additions and 47 deletions
|
|
@ -534,11 +534,16 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.updateColor();
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/ConfigurationUpdated', function(event) {
|
||||
$rootScope.$on('Local/UnitSettingUpdated', function(event) {
|
||||
self.updateAll();
|
||||
self.updateTxHistory();
|
||||
});
|
||||
|
||||
|
||||
$rootScope.$on('Local/BWSUpdated', function(event) {
|
||||
profileService.applyConfig();
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/WalletCompleted', function(event) {
|
||||
self.setFocusedWallet();
|
||||
go.walletHome();
|
||||
|
|
|
|||
4
src/js/controllers/preferencesAbout.js
Normal file
4
src/js/controllers/preferencesAbout.js
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesAbout',
|
||||
function() {});
|
||||
|
|
@ -49,7 +49,7 @@ angular.module('copayApp.controllers').controller('preferencesAltCurrencyControl
|
|||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
$scope.$emit('Local/ConfigurationUpdated');
|
||||
$scope.$emit('Local/UnitSettingUpdated');
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
$scope.$emit('Local/BWSUpdated');
|
||||
applicationService.restart(true);
|
||||
go.walletHome();
|
||||
$scope.$emit('Local/ConfigurationUpdated');
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
7
src/js/controllers/preferencesLogs.js
Normal file
7
src/js/controllers/preferencesLogs.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('preferencesLogs',
|
||||
function(historicLog) {
|
||||
this.logs = historicLog.get();
|
||||
console.log('[preferencesLogs.js.5:historicLog:]',this.logs); //TODO
|
||||
});
|
||||
|
|
@ -52,7 +52,7 @@ angular.module('copayApp.controllers').controller('preferencesUnitController',
|
|||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
$scope.$emit('Local/ConfigurationUpdated');
|
||||
$scope.$emit('Local/UnitSettingUpdated');
|
||||
});
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue