Fix date placeholder for milestone type

pull/4338/head
Alex Dik 9 years ago
parent 594de20ff8
commit a17196b318
  1. 6
      frontend/app/components/work-packages/wp-single-view/wp-single-view.directive.ts

@ -62,7 +62,11 @@ export class WorkPackageSingleViewController {
this.workPackage = wp;
this.singleViewWp = new SingleViewWorkPackage(wp);
this.workPackage.type.$load();
this.workPackage.type.$load().then(() => {
if (this.workPackage.type.isMilestone) {
this.text.noStartDate = '-';
}
});
this.workPackage.schema.$load().then(schema => {
this.setFocus();

Loading…
Cancel
Save