Skip to content

Commit

Permalink
added start check
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Apr 29, 2022
1 parent 6026a96 commit 4b033e3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,9 @@ export const ModelsList: FC<Props> = ({
isPrimary: true,
available: isTestable,
onClick: setShowTestFlyout,
enabled: (item) =>
isPopulatedObject(item.stats?.deployment_stats) &&
item.stats?.deployment_stats?.state === DEPLOYMENT_STATE.STARTED,
},
] as Array<Action<ModelItem>>)
);
Expand Down

0 comments on commit 4b033e3

Please sign in to comment.