Skip to content

Commit

Permalink
chore(edit-content): add format date #30215
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Nov 27, 2024
1 parent c709fae commit 76e2429
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
<p-dialog
[header]="'dot.file.field.dialog.import.from.url.header' | dm"
[modal]="true"

[(visible)]="$visible"
dataKey="id"
appendTo="body">
<p-table
#datatable
[value]="data"
selectionMode="multiple"
[(selection)]="$selectedItems"
[(selection)]="$selectedItems"
[loading]="store.isLoading()"
[paginator]="false"
[rows]="rowsPerPage"
Expand Down Expand Up @@ -75,7 +74,7 @@
<td class="max-w-12rem">
<p class="truncate-text">{{ item.description }}</p>
</td>
<td>{{ item.lastUpdate }}</td>
<td>{{ item.lastUpdate | date }}</td>
<td>
<i class="pi pi-ellipsis-v"></i>
</td>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { DatePipe } from '@angular/common';
import { ChangeDetectionStrategy, Component, inject, model } from '@angular/core';

import { ButtonModule } from 'primeng/button';
Expand All @@ -23,7 +24,8 @@ import { Content, ExistingContentStore } from './store/existing-content.store';
DialogModule,
IconFieldModule,
InputIconModule,
InputTextModule
InputTextModule,
DatePipe
],
templateUrl: './dot-select-existing-content.component.html',
styleUrls: ['./dot-select-existing-content.component.scss'],
Expand Down

0 comments on commit 76e2429

Please sign in to comment.