Modified instead of created
This commit is contained in:
parent
c2c18d0131
commit
059fbcf343
|
@ -43,7 +43,7 @@
|
||||||
<td *ngIf="activity.status === 0" style="padding-left: 12px">
|
<td *ngIf="activity.status === 0" style="padding-left: 12px">
|
||||||
{{ enumUtils.toDmpStatusString(activity.status) }}
|
{{ enumUtils.toDmpStatusString(activity.status) }}
|
||||||
</td>
|
</td>
|
||||||
<td style="padding-left: 12px">{{ activity.creationTime | date: "shortDate" }}</td>
|
<td style="padding-left: 12px">{{ activity.modifiedTime | date: "shortDate" }}</td>
|
||||||
<td><i class="material-icons more-icon">more_horiz</i></td>
|
<td><i class="material-icons more-icon">more_horiz</i></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -26,7 +26,7 @@ export class RecentEditedActivityComponent implements OnInit {
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
if (this.isAuthenticated()) {
|
if (this.isAuthenticated()) {
|
||||||
const fields: Array<string> = ["-created"];
|
const fields: Array<string> = ["-modified"];
|
||||||
const dmpDataTableRequest: DataTableRequest<DmpCriteria> = new DataTableRequest(0, null, { fields: fields });
|
const dmpDataTableRequest: DataTableRequest<DmpCriteria> = new DataTableRequest(0, null, { fields: fields });
|
||||||
dmpDataTableRequest.criteria = new DmpCriteria();
|
dmpDataTableRequest.criteria = new DmpCriteria();
|
||||||
dmpDataTableRequest.criteria.like = "";
|
dmpDataTableRequest.criteria.like = "";
|
||||||
|
|
Loading…
Reference in New Issue