1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 15:20:06 +02:00

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}