+ {this.state.isNew ? (
+
+
+
+
+ ) : (
+
+
+
+ {this.state.type === Constants.AssetType.URL ? 'URL' : this.state.type === Constants.AssetType.FOLDER ? 'Folder' : 'File'}
+
+
+ )}
-
+
+ {this.state.type !== Constants.AssetType.URL && (
+
+ )}
{pathError}
diff --git a/app/containers/ProjectPage/ProjectPage.js b/app/containers/ProjectPage/ProjectPage.js
index e9ba6876..d8f3c8f4 100644
--- a/app/containers/ProjectPage/ProjectPage.js
+++ b/app/containers/ProjectPage/ProjectPage.js
@@ -423,6 +423,7 @@ class ProjectPage extends Component {
const projectWithAssets = {
...selectedProject,
sourceControlEnabled: response.project.sourceControlEnabled,
+ externalAssets: response.project.externalAssets,
assets: response.error
? { error: response.error, errorMessage: response.errorMessage }
: response.assets,
@@ -692,8 +693,8 @@ class ProjectPage extends Component {
this.state.projectListMenuAnchor ? this.state.projectListMenuAnchor.element : null
}
project={
- this.state.projectListMenuAnchor ? this.state.projectListMenuAnchor.project : null
- }
+ this.state.projectListMenuAnchor ? this.state.projectListMenuAnchor.project : null
+ }
onClose={this.handleCloseProjectListMenu}
onMenuClick={this.handleClickProjectListMenu}
/>
@@ -701,7 +702,7 @@ class ProjectPage extends Component {
open={this.state.showDirtyConfirmation}
onClose={this.handleCancelSwitch}
>
-