File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ const Upload = props => {
66
66
{ getTranslation ( "Uploaded at" ) }
67
67
{ ": " }
68
68
{ uploaded_at
69
- ? new Date ( uploaded_at ) . toLocaleString ( )
69
+ ? new Date ( uploaded_at * 1000 ) . toLocaleString ( )
70
70
: "<never>"
71
71
}
72
72
{ user . id == 1 && (
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ export const queryAvailablePerspectives = gql`
49
49
` ;
50
50
51
51
const uploadPerspective = gql `
52
- mutation uploadPerspective($id: LingvodocID!, $force: Boolean, $ debugFlag: Boolean) {
53
- tsakorpus(perspective_id: $id, force: $force , debug_flag: $debugFlag) {
52
+ mutation uploadPerspective($id: LingvodocID!, $debugFlag: Boolean) {
53
+ tsakorpus(perspective_id: $id, force: true , debug_flag: $debugFlag) {
54
54
triumph
55
55
}
56
56
}
@@ -83,7 +83,7 @@ class PerspectivePath extends React.Component {
83
83
this . setState ( { uploading : true } ) ;
84
84
85
85
uploadPerspective ( {
86
- variables : { id, force : true }
86
+ variables : { id }
87
87
} ) . then (
88
88
( { data } ) => {
89
89
this . setState ( { uploading : false } ) ;
You can’t perform that action at this time.
0 commit comments