More connect improvements
* Use extra route for disconnected/initial state * Style connect screen properly * Hide widget when connected in favor of custom UI * Show account info in sidebar header
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Controller from '@ember/controller';
|
||||
import EmberObject from '@ember/object';
|
||||
import { observer } from '@ember/object';
|
||||
import { computed, observer } from '@ember/object';
|
||||
import { inject as service } from '@ember/service';
|
||||
import { alias } from '@ember/object/computed';
|
||||
import { isEmpty } from '@ember/utils';
|
||||
@@ -11,9 +11,14 @@ export default Controller.extend({
|
||||
|
||||
connecting: alias('storage.connecting'),
|
||||
connected: alias('storage.connected'),
|
||||
userAddress: alias('storage.userAddress'),
|
||||
rootListing: alias('storage.rootListing'),
|
||||
currentDirPath: null,
|
||||
|
||||
connectedClass: computed('connected', function() {
|
||||
return this.get('connected') ? 'connected' : 'disconnected';
|
||||
}),
|
||||
|
||||
categories: function() {
|
||||
let categories = [];
|
||||
let rootListing = this.get('rootListing');
|
||||
|
||||
Reference in New Issue
Block a user