Skip to content

Commit

Permalink
Oprava nezobrazeni ALTO v metadatech u verejneho dokumentu
Browse files Browse the repository at this point in the history
  • Loading branch information
honza-rychtar committed Apr 3, 2020
1 parent 5dc1868 commit 810f461
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class DialogAdminMetadataComponent extends MzBaseModal implements OnInit
}

reload() {
if (this.selection.tab === 'page' && this.resource === 'alto') {
if (this.selection.tab === 'page' && this.resource === 'alto' && !this.metadata.isPublic) {
this.selection[this.resource] = `Objekt ${this.selection.tab.toUpperCase()} neobsahuje ${this.resource.toUpperCase()}`;
return;
}
Expand Down

0 comments on commit 810f461

Please sign in to comment.