message: Fixed redirection to list page when deleting resource from details page.  Also, handles non-namespaced resources
diff: @@ -33,9 +33,11 @@ class DeleteModal extends PromiseComponent {
  this.handlePromise( k8sKill(kind, resource, {}, json)).then(() => {
  this.props.close();
  // If we are currently on the deleted resource's page, redirect to the resource list page
  - const re = new RegExp(`/${resource.metadata.name}/.*$`);
  + const re = new RegExp(`/${resource.metadata.name}.*$`);
  if (re.test(window.location.pathname)) {
  - history.push(formatNamespacedRouteForResource(kind.path));
  + history.push( resource.metadata.namespace
  + ? formatNamespacedRouteForResource(kind.path)
  + : `/k8s/cluster/${kind.path}` );
  }
  });
  }
  