fix(instances): support all fw rules
This commit is contained in:
parent
cac551beaf
commit
154b4cfeb6
@ -47,6 +47,12 @@ const parsePartial = (p, index, style) => {
|
|||||||
</Margin>
|
</Margin>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Margin key={index} top={0.5} bottom={0.5}>
|
||||||
|
<P style={style}>{p[1]}</P>
|
||||||
|
</Margin>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
const Rule = ({ enabled, rule_obj }) => {
|
const Rule = ({ enabled, rule_obj }) => {
|
||||||
|
@ -148,7 +148,7 @@ export default compose(
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
enabled,
|
enabled,
|
||||||
defaultRules: rules.filter(({ rule_obj = {} }) => rule_obj.isWildcard),
|
defaultRules: rules,
|
||||||
tagRules: rules.filter(({ rule_obj = {} }) => rule_obj.tags.length),
|
tagRules: rules.filter(({ rule_obj = {} }) => rule_obj.tags.length),
|
||||||
instance: machine,
|
instance: machine,
|
||||||
loading,
|
loading,
|
||||||
|
Loading…
Reference in New Issue
Block a user