File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4812,9 +4812,12 @@ <h5 class="modal-title" id="githubConfigModalLabel">GitHub Configuration</h5>
48124812 attributionError = `Attribution ${ attrNum } is missing required entity name` ;
48134813 break ;
48144814 }
4815- if ( ! attribution . entity . email || attribution . entity . email . trim ( ) === '' ) {
4815+ // Check that at least one of email or url is provided
4816+ const hasEmail = attribution . entity . email && attribution . entity . email . trim ( ) !== '' ;
4817+ const hasUrl = attribution . entity . url && attribution . entity . url . trim ( ) !== '' ;
4818+ if ( ! hasEmail && ! hasUrl ) {
48164819 attributionsValid = false ;
4817- attributionError = `Attribution ${ attrNum } is missing required entity email` ;
4820+ attributionError = `Attribution ${ attrNum } entity must have either an email or URL ` ;
48184821 break ;
48194822 }
48204823 }
Original file line number Diff line number Diff line change 15341534 "enum" : [
15351535 " GeoTIFF (tif)" ,
15361536 " Cloud Optimized GeoTIFF (cog)" ,
1537+ " GRID (grd)" ,
15371538 " NetCDF (nc)" ,
15381539 " HDF5 (hdf5)" ,
15391540 " Zarr (zarr)" ,
You can’t perform that action at this time.
0 commit comments