Fix name of default route to ensure DEFAULT route is sorted to the bottom (#2469)

Some time ago, I fixed sorting on these tables so that the default route ([default]) 
was sorted to the bottom. The name was changed to [DEFAULT] causing that sort 
to no longer put the default route at the bottom. Update to correct case.
This commit is contained in:
Risha Mars 2019-03-07 19:27:39 -04:00 committed by GitHub
parent d4fdbe4991
commit 3be5de1736
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ const processStatTable = table => {
return _orderBy(rows, r => r.name);
};
export const DefaultRoute = "[default]";
export const DefaultRoute = "[DEFAULT]";
export const processTopRoutesResults = rows => {
return _map(rows, row => ({
route: row.route || DefaultRoute,