message: Fix traffic splitting modal crashing UI with no revision loaded
diff: @@ -9,6 +9,8 @@ import {
  export type RevisionItems = { [name: string]: string };
  export const getRevisionItems = (revisions: K8sResourceKind[]): RevisionItems => {
  + if (!revisions) return {} as RevisionItems;
  +
  return revisions.reduce((acc, currValue) => {
  acc[currValue.metadata.name] = currValue.metadata.name;
  return acc;
  