Project

General

Profile

« Previous | Next » 

Revision 62357

show terms modal only when consentTermsOfUse or fullTextDownload are null

View differences:

modules/uoa-repository-dashboard-gui/branches/new-datasource-mode/src/app/app.component.ts
67 67
        () => {
68 68
          // console.log(this.reposOfUser);
69 69
          this.reposOfUser.forEach(repo => {
70
            if (!repo.consentTermsOfUse || !repo.fullTextDownload) {
70
            if (repo.consentTermsOfUse === null || repo.fullTextDownload === null) {
71 71
              this.addTerm(repo.officialname, repo.id, repo.consentTermsOfUse);
72 72
              this.isModalShown = true;
73 73
            }

Also available in: Unified diff