File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,19 @@ const InstanceHeaderStore = Reflux.createStore({
44
44
} ;
45
45
} ,
46
46
47
+ /**
48
+ * @note : Durran: COMPASS-834. Getting instance details does not necessarily mean that
49
+ * the active namespace is the instance itself. The user can refresh the instance while
50
+ * being on a database or collection view.
51
+ */
47
52
fetchInstanceDetails ( state ) {
48
53
this . setState ( {
49
54
hostname : state . instance . hostname ,
50
55
port : state . instance . port ,
51
56
processStatus : 'TODO: Get Replica Set Status' ,
52
57
versionDistro : state . instance . build . enterprise_module ? 'Enterprise' : 'Community' ,
53
58
versionNumber : state . instance . build . version ,
54
- activeNamespace : ''
59
+ activeNamespace : NamespaceStore . ns || ''
55
60
} ) ;
56
61
} ,
57
62
You can’t perform that action at this time.
0 commit comments