Skip to content

Commit

Permalink
Verze 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
honza-rychtar committed Feb 12, 2020
1 parent f59d847 commit 9aeb847
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/about/about.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ <h1>{{ 'navbar.about' | translate }}</h1>
[size]="'medium'">
</mz-spinner>

<span class="app-version">v1.5.1</span>
<span class="app-version">v1.5.2</span>

</div>
2 changes: 0 additions & 2 deletions src/app/model/metadata.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ export class Metadata {
this.model = item.doctype;
this.donator = item.donator;
this.originUrl = item.originUrl;
console.log('assignDocument item', item);
console.log('assignDocument data', this);
}

public getOriginUrl() {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class AuthService {
user: User = null;

constructor(private appSettings: AppSettings, private krameriusApi: KrameriusApiService, private cache: HttpRequestCache) {
console.log('AuthService initialized');
// console.log('AuthService initialized');
if (appSettings.dnntEnabled) {
this.login(null, null);
}
Expand Down
1 change: 0 additions & 1 deletion src/app/services/book.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,6 @@ export class BookService {
if (rightPage) {
rightPage.assignPageData(result[1]);
}
console.log('leftpage', leftPage);
this.dnntMode = leftPage.providedByDnnt || (rightPage && rightPage.providedByDnnt);
this.dnntFlag = leftPage.dnntFlag || (rightPage && rightPage.dnntFlag);
if (leftPage.imageType === PageImageType.None) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/services/kramerius-api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export class KrameriusApiService {
private getPeriodicalItems(pidPath: string, level: number, models: string[], query: PeriodicalQuery, applyYear: boolean) {
const modelRestriction = models.map(a => 'fedora.model:' + a).join(' OR ');
let url = this.getApiUrl() + '/search?fl=PID,dostupnost,fedora.model,dc.title,datum_str,details'
if (this.settings.dnntEnabled) {
if (this.settings.dnntFilter) {
url += ',dnnt';
}
url += '&q=pid_path:'
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
</head>
<body>
<script type="text/javascript" src="assets/shared/globals.js?v1.5.1"></script>
<script type="text/javascript" src="assets/shared/globals.js?v1.5.2"></script>
<app-root>
<div class="app-loading">
<div class="loader"></div>
Expand Down

0 comments on commit 9aeb847

Please sign in to comment.