Project

General

Profile

« Previous | Next » 

Revision 54201

checking for null as a string in getLatestUpdate

View differences:

datasource-create-form.component.ts
276 276

  
277 277
    /* THE BELOW FIELDS ARE NOT SET IN GWT CODE*/
278 278
    newRepo.datasourceType = this.mode;
279
    /*newRepo.dateOfCreation = new Date(Date.now());*/ // NOT NEEDED
279
    newRepo.dateOfCreation = new Date(Date.now()); // NOT NEEDED ??
280 280
    newRepo.registered = true;
281
    /*newRepo.registrationDate = new Date(Date.now());*/ // NOT NEEDED
281
    newRepo.registrationDate = new Date(Date.now()); // NOT NEEDED ??
282 282

  
283 283
    return newRepo;
284 284
  }

Also available in: Unified diff