fix(cp-frontend): fix imported manifest notice

This commit is contained in:
Sérgio Ramos 2017-08-30 12:30:50 +01:00
parent d30988f652
commit 3ddeb0517e

View File

@ -25,7 +25,11 @@ const Manifest = ({
const stage = match.params.stage;
const _title = <Title>Edit Manifest</Title>;
if (loading || !deploymentGroup || !hasManifest) {
if (
loading ||
!deploymentGroup ||
(!hasManifest && !deploymentGroup.imported)
) {
return (
<LayoutContainer center>
{_title}