diff --git a/browser/app/js/objects/PreviewObjectModal.js b/browser/app/js/objects/PreviewObjectModal.js
index 9d2aa6a1b..f6fb6b633 100644
--- a/browser/app/js/objects/PreviewObjectModal.js
+++ b/browser/app/js/objects/PreviewObjectModal.js
@@ -23,7 +23,10 @@ class PreviewObjectModal extends React.Component {
this.state = {
url: "",
}
- props.getObjectURL(props.object.name, (url) => {
+ }
+
+ componentDidMount() {
+ this.props.getObjectURL(this.props.object.name, (url) => {
this.setState({
url: url,
})
diff --git a/browser/ui-assets.go b/browser/ui-assets.go
index 820e48e84..9474fd555 100644
--- a/browser/ui-assets.go
+++ b/browser/ui-assets.go
@@ -1,4 +1,4 @@
-// Package browser Code generated by go-bindata. (@generated) DO NOT EDIT.
+// Code generated for package browser by go-bindata DO NOT EDIT. (@generated)
// sources:
// production/chrome.png
// production/favicon-16x16.png
@@ -6,7 +6,7 @@
// production/favicon-96x96.png
// production/firefox.png
// production/index.html
-// production/index_bundle-2020-05-07T16-39-08Z.js
+// production/index_bundle-2020-05-13T07-46-25Z.js
// production/loader.css
// production/logo.svg
// production/safari.png
@@ -75,7 +75,7 @@ func productionChromePng() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "production/chrome.png", size: 3726, mode: os.FileMode(436), modTime: time.Unix(1588869589, 0)}
+ info := bindataFileInfo{name: "production/chrome.png", size: 3726, mode: os.FileMode(420), modTime: time.Unix(1589355997, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -92,7 +92,7 @@ func productionFavicon16x16Png() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "production/favicon-16x16.png", size: 14906, mode: os.FileMode(436), modTime: time.Unix(1588869589, 0)}
+ info := bindataFileInfo{name: "production/favicon-16x16.png", size: 14906, mode: os.FileMode(420), modTime: time.Unix(1589355997, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -109,7 +109,7 @@ func productionFavicon32x32Png() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "production/favicon-32x32.png", size: 16066, mode: os.FileMode(436), modTime: time.Unix(1588869589, 0)}
+ info := bindataFileInfo{name: "production/favicon-32x32.png", size: 16066, mode: os.FileMode(420), modTime: time.Unix(1589355997, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -126,7 +126,7 @@ func productionFavicon96x96Png() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "production/favicon-96x96.png", size: 17029, mode: os.FileMode(436), modTime: time.Unix(1588869589, 0)}
+ info := bindataFileInfo{name: "production/favicon-96x96.png", size: 17029, mode: os.FileMode(420), modTime: time.Unix(1589355997, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -143,7 +143,7 @@ func productionFirefoxPng() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "production/firefox.png", size: 4795, mode: os.FileMode(436), modTime: time.Unix(1588869589, 0)}
+ info := bindataFileInfo{name: "production/firefox.png", size: 4795, mode: os.FileMode(420), modTime: time.Unix(1589355997, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -203,8 +203,8 @@ var _productionIndexHTML = []byte(`
-
-
+
+