File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
K8sFileBrowser/ViewModels Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ private void InitiallyLoadContexts(IKubernetesService kubernetesService)
110
110
. Subscribe ( x =>
111
111
{
112
112
ResetNamespaces ( ) ;
113
- ClusterContexts = x ;
113
+ ClusterContexts = x . OrderBy ( c => c . Name ) ;
114
114
115
115
// select the current cluster context
116
116
SelectedClusterContext = ClusterContexts
@@ -129,7 +129,7 @@ private void RegisterReadNamespaces(IKubernetesService kubernetesService)
129
129
. Subscribe ( ns =>
130
130
{
131
131
ResetPods ( ) ;
132
- Namespaces = ns ;
132
+ Namespaces = ns . OrderBy ( n => n . Name ) ;
133
133
} ) ;
134
134
}
135
135
@@ -145,7 +145,7 @@ private void RegisterReadPods()
145
145
. Subscribe ( x =>
146
146
{
147
147
ResetContainers ( ) ;
148
- Pods = x ;
148
+ Pods = x . OrderBy ( p => p . Name ) ;
149
149
} ) ;
150
150
}
151
151
You can’t perform that action at this time.
0 commit comments