fixed inconsistend naming
This commit is contained in:
parent
4a4e1ac981
commit
21c31b58d7
@ -254,7 +254,7 @@ $labelOffsetEnd: -30px;
|
||||
&.filtered {
|
||||
color: orange;
|
||||
}
|
||||
&.notexported {
|
||||
&.not-exported {
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
@ -27,7 +27,11 @@ const RoutesHeader = (props) => {
|
||||
[ROUTES_FILTERED]: "filtered",
|
||||
[ROUTES_NOT_EXPORTED]: "not exported"
|
||||
}[type];
|
||||
const cls = `card-header card-header-routes ${type.toLowerCase()}`;
|
||||
let stype = type;
|
||||
if (stype == ROUTES_NOT_EXPORTED) {
|
||||
stype = 'not-exported'; // *sigh*
|
||||
}
|
||||
const cls = `card-header card-header-routes ${stype}`;
|
||||
return (<p className={cls}>Routes {rtype}</p>);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user