fixed material numbers in new dialog
This commit is contained in:
		@@ -45,7 +45,7 @@
 | 
			
		||||
      </rb-array-input>
 | 
			
		||||
      <rb-form-select name="conditionSelect" label="Type"
 | 
			
		||||
                      [(ngModel)]="material.properties.material_template">
 | 
			
		||||
        <option *ngFor="let m of d.arr.materialTemplates" [value]="m._id">{{m.name}}</option>
 | 
			
		||||
        <option *ngFor="let m of d.latest.materialTemplates" [value]="m._id">{{m.name}}</option>
 | 
			
		||||
      </rb-form-select>
 | 
			
		||||
      <rb-form-input *ngFor="let parameter of d.id.materialTemplates[material.properties.material_template].parameters;
 | 
			
		||||
                     index as i" [name]="'materialParameter' + i"
 | 
			
		||||
@@ -158,7 +158,7 @@
 | 
			
		||||
        <div *ngIf="gSample.condition.condition_template" [@inOut]>
 | 
			
		||||
          <rb-form-select name="conditionSelect" label="Condition"
 | 
			
		||||
                          [(ngModel)]="gSample.condition.condition_template">
 | 
			
		||||
            <option *ngFor="let c of d.arr.conditionTemplates" [value]="c._id">{{c.name}}</option>
 | 
			
		||||
            <option *ngFor="let c of d.latest.conditionTemplates" [value]="c._id">{{c.name}}</option>
 | 
			
		||||
          </rb-form-select>
 | 
			
		||||
 | 
			
		||||
          <ng-container *ngFor="let parameter of
 | 
			
		||||
@@ -187,7 +187,7 @@
 | 
			
		||||
          <rb-form-select [name]="'measurementTemplateSelect-' + gIndex + '-' + mIndex" label="Template"
 | 
			
		||||
                          [(ngModel)]="measurement.measurement_template"
 | 
			
		||||
                          (ngModelChange)="clearMeasurement(gIndex, mIndex)">
 | 
			
		||||
            <option *ngFor="let m of d.arr.measurementTemplates" [value]="m._id">{{m.name}}</option>
 | 
			
		||||
            <option *ngFor="let m of d.latest.measurementTemplates" [value]="m._id">{{m.name}}</option>
 | 
			
		||||
          </rb-form-select>
 | 
			
		||||
 | 
			
		||||
          <div *ngFor="let parameter of d.id.measurementTemplates[measurement.measurement_template].parameters;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user