Explorar o código

add check for operation existing in operation details

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
7d4cf5ed7e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dashboard/src/components/ProvisionerStatus.tsx

+ 1 - 1
dashboard/src/components/ProvisionerStatus.tsx

@@ -599,7 +599,7 @@ const OperationDetails: React.FunctionComponent<OperationDetailsProps> = ({
     }
   }, [infraState]);
 
-  if (isLoading || !infraState) {
+  if (isLoading || !infraState || !operation) {
     return (
       <Placeholder>
         <Loading />