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>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<Margin key={index} top={0.5} bottom={0.5}>
|
||||
<P style={style}>{p[1]}</P>
|
||||
</Margin>
|
||||
);
|
||||
};
|
||||
|
||||
const Rule = ({ enabled, rule_obj }) => {
|
||||
|
@ -148,7 +148,7 @@ export default compose(
|
||||
|
||||
return {
|
||||
enabled,
|
||||
defaultRules: rules.filter(({ rule_obj = {} }) => rule_obj.isWildcard),
|
||||
defaultRules: rules,
|
||||
tagRules: rules.filter(({ rule_obj = {} }) => rule_obj.tags.length),
|
||||
instance: machine,
|
||||
loading,
|
||||
|
Loading…
Reference in New Issue
Block a user