Skip to content

Commit dd96b01

Browse files
committed
Fix vanilla tests
1 parent bd8e696 commit dd96b01

40 files changed

+609
-598
lines changed

packages/angular-material/example/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import { Observable } from 'rxjs';
3636
Example:
3737
<select (change)="onChange($event)">
3838
<option
39-
*ngFor="let example of (exampleData$ | async)"
39+
*ngFor="let example of exampleData$ | async"
4040
value="{{ example.name }}"
4141
label="{{ example.label }}"
4242
>

packages/angular-material/src/controls/autocomplete.renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import { startWith } from 'rxjs/operators';
8484
(optionSelected)="onSelect($event)"
8585
>
8686
<mat-option
87-
*ngFor="let option of (filteredOptions | async)"
87+
*ngFor="let option of filteredOptions | async"
8888
[value]="option"
8989
>
9090
{{ option }}

packages/ionic/src/controls/date/date-control.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export class DateControlRenderer extends JsonFormsControl {
278278
// TODO: DEPS
279279
this.locale = getLocale(this.ngRedux.getState());
280280
this.dateFormat = getLocaleDateString(this.locale).toUpperCase();
281-
this.datePicker.value = this.data;//.setValue(this.data);
281+
this.datePicker.value = this.data; //.setValue(this.data);
282282
this.datePicker.displayFormat = this.dateFormat;
283283
this.datePicker.pickerFormat = this.dateFormat;
284284
//this.datePicker._inputUpdated();

packages/ionic/src/layouts/categorization/categorization-tab-layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class CategorizationTabLayoutRenderer extends JsonFormsIonicLayout {
7171
categoryPages: CategoryRenderParams[];
7272

7373
constructor(
74-
ngRedux: NgRedux<JsonFormsState>,
74+
ngRedux: NgRedux<JsonFormsState>
7575
// TODO: DEPS
7676
//private paramsService: ParamsService
7777
) {

packages/ionic/src/other/list-with-detail/list-with-detail-control.ts

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -170,41 +170,43 @@ export class ListWithDetailControl extends JsonFormsArrayControl {
170170
} else if (activeDetailView !== undefined) {
171171
// TODO: DEPS
172172
// update detail, such that navbar in detail disappears
173-
// return this.updateDetail(activeDetailView.data.item).then(() =>
174-
// this.updateMaster()
175-
// );
173+
// return this.updateDetail(activeDetailView.data.item).then(() =>
174+
// this.updateMaster()
175+
// );
176176
}
177177
});
178178
};
179179

180180
hideDetail = (): Promise<any> => {
181181
// set master as root on detail nav
182-
return Promise.all(
183-
[
184-
this.masterNav.getActive(),
185-
this.detailNav.getActive()
186-
]
187-
).then(([activeMasterView, _]) => {
182+
return Promise.all([
183+
this.masterNav.getActive(),
184+
this.detailNav.getActive()
185+
]).then(([activeMasterView, _]) => {
188186
this.detailNav.setRoot(
189187
activeMasterView.component,
190188
activeMasterView.params,
191189
{ animated: false }
192-
)
193-
// TODO: DEPS
194-
// .then(() => {
195-
// if (activeDetailView.params) {
196-
// // update detail, such that navbar in detail appears
197-
// return this.updateDetail(activeDetailView.data.item);
198-
// }
199-
// });
190+
);
191+
// TODO: DEPS
192+
// .then(() => {
193+
// if (activeDetailView.params) {
194+
// // update detail, such that navbar in detail appears
195+
// return this.updateDetail(activeDetailView.data.item);
196+
// }
197+
// });
200198
});
201-
}
199+
};
202200

203201
updateMaster = () => {
204202
if (this._isSplit) {
205-
this.masterNav.setRoot(MasterPage, this.masterParams, { animated: false });
203+
this.masterNav.setRoot(MasterPage, this.masterParams, {
204+
animated: false
205+
});
206206
} else {
207-
this.detailNav.setRoot(MasterPage, this.masterParams, { animated: false });
207+
this.detailNav.setRoot(MasterPage, this.masterParams, {
208+
animated: false
209+
});
208210
}
209211
};
210212

0 commit comments

Comments
 (0)