format removed dates to be shown on the confirmation modal

45001-component-to-show-the-list-of-non-working-days-of-year
bsatarnejad 2 years ago
parent 18b73ae414
commit 073e335cdc
  1. 2
      frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.ts

@ -79,7 +79,7 @@ export class OpNonWorkingDaysListComponent implements OnInit {
anchor.appendChild(opIconElement('icon', 'icon-delete'));
anchor.addEventListener('click', () => {
event.remove();
this.removedNonWorkingDays.push(event.id);
this.removedNonWorkingDays.push(moment(event.id).format('MMMM DD, YYYY'));
});
td.appendChild(anchor);
el.appendChild(td);

Loading…
Cancel
Save