@@ -131,26 +65,24 @@ export const Workflow = () => {
+
+ {/* TODO(doeg): add a protobuf enum for this (https://github.com/vitessio/vitess/projects/12#card-60190340) */}
+ {['Error', 'Copying', 'Running', 'Stopped'].map((streamState) => {
+ if (!Array.isArray(streamsByState[streamState])) {
+ return null;
+ }
+
+ return (
+
+
+
+ );
+ })}
+
+ );
+};