File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
app/preprints/-components/submit/file/upload-file Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ interface PreprintUploadArgs {
1616 preprint : PreprintModel ;
1717 allowVersioning : boolean ;
1818 isEdit : boolean ;
19- enable : boolean ;
2019 validate : ( _ : FileModel ) => { } ;
2120 clickableElementId : string ;
2221 dragEnter : ( ) => { } ;
@@ -31,12 +30,11 @@ export default class PreprintUpload extends Component<PreprintUploadArgs> {
3130 rootFolder ?: FileModel ;
3231 primaryFile : FileModel | undefined ;
3332 @tracked isUploadFileDisplayed = false ;
34- @tracked isEnabled = this . args . enable ;
33+ @tracked isEnabled = false ;
3534
3635 constructor ( owner : unknown , args : any ) {
3736 super ( owner , args ) ;
3837
39- this . isEnabled = false ;
4038 taskFor ( this . prepUrl ) . perform ( ) ;
4139 }
4240
You can’t perform that action at this time.
0 commit comments