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({
4444 } ;
4545 } ,
4646
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+ */
4752 fetchInstanceDetails ( state ) {
4853 this . setState ( {
4954 hostname : state . instance . hostname ,
5055 port : state . instance . port ,
5156 processStatus : 'TODO: Get Replica Set Status' ,
5257 versionDistro : state . instance . build . enterprise_module ? 'Enterprise' : 'Community' ,
5358 versionNumber : state . instance . build . version ,
54- activeNamespace : ''
59+ activeNamespace : NamespaceStore . ns || ''
5560 } ) ;
5661 } ,
5762
You can’t perform that action at this time.
0 commit comments