File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
java/ru/mystamps/web/feature/site Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,15 @@ class SeriesSaleImportForm extends React.Component {
74
74
document . getElementById ( 'date' ) . value = today ;
75
75
76
76
document . getElementById ( 'url' ) . value = this . state . url ;
77
- document . getElementById ( 'price' ) . value = data . price ;
78
- document . getElementById ( 'currency' ) . value = data . currency ;
77
+
78
+ if ( data . price ) {
79
+ document . getElementById ( 'price' ) . value = data . price ;
80
+ }
81
+
82
+ if ( data . currency ) {
83
+ document . getElementById ( 'currency' ) . value = data . currency ;
84
+ }
85
+
79
86
if ( data . sellerId ) {
80
87
document . getElementById ( 'seller' ) . value = data . sellerId ;
81
88
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public final class ResourceUrl {
32
32
public static final String STATIC_RESOURCES_URL = "https://stamps.filezz.ru" ;
33
33
34
34
// MUST be updated when any of our resources were modified
35
- public static final String RESOURCES_VERSION = "v0.4.2" ;
35
+ public static final String RESOURCES_VERSION = "v0.4.2.1 " ;
36
36
37
37
// CheckStyle: ignore LineLength for next 10 lines
38
38
private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js" ;
You can’t perform that action at this time.
0 commit comments