Ver código fonte

Fix empty Deployments list page

Fixes empty deployments list page description and removes "Create
Deployment" button, since it does not make sense to create a deployment
using the creation wizard, these need to be created from a pre-existing
Transfer.
Daniel Vincze 1 ano atrás
pai
commit
3e521839d2

+ 1 - 5
src/components/smart/DeploymentsPage/DeploymentsPage.tsx

@@ -321,11 +321,7 @@ class DeploymentsPage extends React.Component<{ history: any }, State> {
               )}
               emptyListImage={deploymentLargeImage}
               emptyListMessage="It seems like you don't have any Deployments in this project."
-              emptyListExtraMessage="A Coriolis Deployment is a deployment of a Replica between two cloud endpoints."
-              emptyListButtonLabel="Create a Deployment"
-              onEmptyListButtonClick={() => {
-                this.handleEmptyListButtonClick();
-              }}
+              emptyListExtraMessage="A Coriolis Deployment is a deployment of a Transfer between two cloud endpoints."
             />
           }
           headerComponent={