Fixed build errors

This commit is contained in:
Giuseppe Digilio
2019-03-26 17:03:03 +01:00
parent 67c9fc9fdd
commit 9b65189b4a
3 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<div class="form-login px-4">
<div *ngIf="(error | async) && hasError" class="alert alert-danger" role="alert" @fadeOut>{{ error | async }}</div>
<div *ngIf="(error | async)" class="alert alert-danger" role="alert" @fadeOut>{{ error | async }}</div>
<button class="btn btn-lg btn-primary btn-block mt-3" (click)="logOut()">{{"logout.form.submit" | translate}}</button>
</div>

View File

@@ -25,6 +25,7 @@ export class LogOutComponent implements OnInit {
/**
* @constructor
* @param {Store<State>} store
* @param {Router} router
*/
constructor(private router: Router,
private store: Store<AppState>) {

View File

@@ -1,4 +1,4 @@
<li *ngVar="m.findMetadata('dc.type') as type"
<li *ngVar="m.firstMetadataValue('dc.type') as type"
[ngClass]="{'float-left': (type == 'outbound' && isSubmitter) || (type == 'inbound' && !isSubmitter),
'float-right': (type == 'outbound' && !isSubmitter) || (type == 'inbound' && isSubmitter),
'clearfix':1}">
@@ -7,7 +7,7 @@
<div class="header clearfix">
<small class="float-left">
<span class="fa fa-clock text-muted ">{{m.findMetadata('dc.date.issued') | date: 'dd/MM/yyyy HH:mm'}}</span>
<span class="fa fa-clock text-muted ">{{m.firstMetadataValue('dc.date.issued') | date: 'dd/MM/yyyy HH:mm'}}</span>
</small>
<small
@@ -27,7 +27,7 @@
<div class="truncatable">
<ds-truncatable [id]="m.uuid">
<ds-truncatable-part [id]="m.uuid" [minLines]="1">
<label>From: <span><strong>{{isSubmitter && type == 'inbound' ? 'You' : m.findMetadata('dc.creator')}}</strong></span></label>
<label>From: <span><strong>{{isSubmitter && type == 'inbound' ? 'You' : m.firstMetadataValue('dc.creator')}}</strong></span></label>
</ds-truncatable-part>
</ds-truncatable>
</div>