Project

General

Profile

« Previous | Next » 

Revision 51581

fixed checking if at least one interface was saved

View differences:

my-group.interface.ts
6 6
  Injector,
7 7
  Input,
8 8
  OnChanges,
9
  OnInit,
9
  OnInit, Output,
10 10
  SimpleChanges
11 11
} from "@angular/core";
12 12
import { Description } from '../../../domain/oa-description';
......
49 49

  
50 50
  public groupErrorMessage: string;
51 51

  
52
  public wasSaved: boolean = false;
53

  
52 54
  constructor(injector : Injector) {
53 55
    this._fb = injector.get(FormBuilder);
54 56
    this.patchData.subscribe(_ => {
......
124 126
  selector : 'form-inline',
125 127
  template : `
126 128
    <div class="form-group">
127
      <label class="control-label" *ngIf="description.label != ''" [ngClass]="{'required' : description.mandatory==true, 'uk-text-danger' : valid == false}" title="{{ description.desc }}">
129
      <label class="control-label" *ngIf="description.label != ''" [ngClass]="{'required' : description.mandatory==true}" title="{{ description.desc }}">
128 130
        {{ description.label }}
129 131
      </label>
130 132
      <ng-content></ng-content>

Also available in: Unified diff