+
+ {sections.map(({key,color}) => (s[key] ? : null))}
+
+
+ {['success','running','failed','timed_out','expired','pending']
+ .filter(k => s[k])
+ .map((k,i) => (
+
+ x.key===k).color, marginRight: 6 }} />
+ {s[k]} {k.replace('_',' ').replace(/^./, c=>c.toUpperCase())}
+
+ ))}
+
+
+ );
+ };
return (