Again....
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
0f1ce45b2f
commit
65366ff09b
@ -19,8 +19,8 @@ export class HasPackageDirective implements OnInit,OnDestroy{
|
||||
const today = new Date(Date.prototype.getUTCDate()).setHours(0,0,0,0);
|
||||
if (packages[this.package] &&
|
||||
packages[this.package].enabled &&
|
||||
(packages[this.package].DataDate && new Date(packages[this.package].DataDate).setHours(0, 0, 0, 0) <= today) &&
|
||||
(packages[this.package].DataEndDate == null || new Date(packages[this.package].DataEndDate).setHours(0, 0, 0, 0) >= today)) {
|
||||
(packages[this.package].dataDate && new Date(packages[this.package].dataDate).setHours(0, 0, 0, 0) <= today) &&
|
||||
(packages[this.package].dataEndDate == null || new Date(packages[this.package].dataEndDate).setHours(0, 0, 0, 0) >= today)) {
|
||||
this.viewContainerRef$.createEmbeddedView(this.templateRef$);
|
||||
this.hasView=true;
|
||||
} else if (this.hasView) {
|
||||
|
Loading…
Reference in New Issue
Block a user