Add dataenddate
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2020-06-25 09:47:53 +02:00
parent 277dc7051e
commit b0ff54d157
3 changed files with 83 additions and 76 deletions

View File

@ -18,3 +18,8 @@
.custom-day.faded { .custom-day.faded {
background-color: rgba(2, 117, 216, 0.5); background-color: rgba(2, 117, 216, 0.5);
} }
ngb-datepicker {
overflow: hidden;
max-width: calc(100vw - 3em);
}

View File

@ -18,6 +18,7 @@ export class Item implements IItem {
public created?: Date; public created?: Date;
public updated?: Date; public updated?: Date;
public dataDate?: Date; public dataDate?: Date;
public dataEndDate?: Date;
public itemType?: string; public itemType?: string;
public sourceTask?: string; public sourceTask?: string;
public size?: number; public size?: number;

View File

@ -22,6 +22,7 @@ export class FolderService {
item.created = new Date(Date.parse(item.created)); item.created = new Date(Date.parse(item.created));
item.updated = new Date(Date.parse(item.updated)); item.updated = new Date(Date.parse(item.updated));
item.dataDate = new Date(Date.parse(item.dataDate)); item.dataDate = new Date(Date.parse(item.dataDate));
item.dataEndDate = new Date(Date.parse(item.dataEndDate));
return item; return item;
} }