File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1415,7 +1415,7 @@ function showAppUploadingModal() {
14151415}
14161416function syncScreenshotButtonPreviews ( ) {
14171417 //If we refresh the page the file inputs retain the images, but the preview <img>s loose their values. This reloads those. Called by showPage()
1418- PLATFORM . forEach ( platform => {
1418+ PLATFORMS . forEach ( platform => {
14191419 var short = platform . substr ( 0 , 1 ) ;
14201420 for ( var i = 1 ; i < 6 ; i ++ ) {
14211421 var fileInput = document . getElementById ( `i-screenshot-${ short } -${ i } -f` )
@@ -1448,7 +1448,7 @@ function submitNewApp() {
14481448 if ( shinyNewApp . releaseNotes == "" ) { newAppValidationError ( "Release Notes cannot be blank" ) ; return }
14491449 //At least one screenshot
14501450
1451- if ( PLATFORMS . some ( platformScreenshotExists ) ) {
1451+ if ( ! PLATFORMS . some ( platformScreenshotExists ) ) {
14521452 newAppValidationError ( "Provide at least one screenshot" )
14531453 return
14541454 }
You can’t perform that action at this time.
0 commit comments