Prioritize ecs topologies on initial load if available

Global topo order priority:
 - Check url for topoid
 - Check localStorage for topoid
 - Check topo-utils.js for what to show first!
This commit is contained in:
Simon Howe
2016-12-22 10:08:06 +01:00
parent bae1533b12
commit 9f9148ac24

View File

@@ -6,6 +6,8 @@ import { Set as makeSet, List as makeList } from 'immutable';
// top priority first
//
const TOPOLOGY_DISPLAY_PRIORITY = [
'ecs-services',
'ecs-tasks',
'services',
'deployments',
'replica-sets',