File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ export default {
250250 // this.rdf.links = this.rdf.links || [];
251251 this .rdf .config = this .rdf .config || {};
252252 this .rdf .license = this .rdf .license || " CC-BY-4.0" ;
253- if (rdf .covers ) {
253+ if (rdf .covers && this . rdf . config . _deposit ) {
254254 files .screenshots = rdf .covers .map (c => {
255255 const baseUrl = ` ${ this .client .baseURL } /record/${ this .rdf .config ._deposit .id } /files/` ;
256256 const coverUrl = c .startsWith (" http" ) ? c : new URL (c, baseUrl).href ;
Original file line number Diff line number Diff line change @@ -417,6 +417,7 @@ export default {
417417 await this .client .getCredential (true );
418418
419419 this .stepIndex = 2 ;
420+ this .$forceUpdate ();
420421 });
421422 },
422423 async loadRdfFromURL (url ) {
You can’t perform that action at this time.
0 commit comments