mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
parent
0d23f35f3d
commit
05cb20f829
@ -501,6 +501,7 @@ App.SettingsController = Ember.ObjectController.extend({
|
||||
if (window.confirm("Are your sure you want to reset your settings?")) {
|
||||
localStorage.clear();
|
||||
controller.set('content', App.Settings.create());
|
||||
App.set('settings.token', '');
|
||||
notify('Settings reset', 3000);
|
||||
this.set('isLoading', false);
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ Ember.Application.initializer({
|
||||
|
||||
initialize: function(container, application) {
|
||||
application.set('settings', App.Settings.create());
|
||||
App.set('settings.token', '');
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user