Skip to content

Commit ab81baf

Browse files
fix Angular refactoring
1 parent 627b6a0 commit ab81baf

File tree

5 files changed

+4
-16
lines changed

5 files changed

+4
-16
lines changed
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
@if (isAuthenticated()) {
2-
<ng-container>
32
<app-<%= layout %> title="{{appInfo.title}}">
43
<router-outlet></router-outlet>
54
<app-footer>
@@ -8,9 +7,6 @@
87
All trademarks or registered trademarks are property of their respective owners.
98
</app-footer>
109
</app-<%= layout %>>
11-
</ng-container>
1210
} @else {
13-
<ng-template>
1411
<app-unauthenticated-content></app-unauthenticated-content>
15-
</ng-template>
1612
}

packages/devextreme-schematics/src/add-layout/files/src/app/shared/components/change-password-form/change-password-form.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@
2424
<div>
2525
<span class="dx-button-text">
2626
@if (loading) {
27-
<ng-container>
2827
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
29-
</ng-container>
3028
} @else {
31-
<ng-template>Continue</ng-template>
29+
<div>Continue</div>
3230
}
3331
</span>
3432
</div>

packages/devextreme-schematics/src/add-layout/files/src/app/shared/components/create-account-form/create-account-form.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,9 @@
3838
<div>
3939
<span class="dx-button-text">
4040
@if (loading) {
41-
<ng-container>
4241
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
43-
</ng-container>
4442
} @else {
45-
<ng-template>Create a new account</ng-template>
43+
<div>Create a new account</div>
4644
}
4745
</span>
4846
</div>

packages/devextreme-schematics/src/add-layout/files/src/app/shared/components/login-form/login-form.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@
2828
<div>
2929
<span class="dx-button-text">
3030
@if (loading) {
31-
<ng-container>
3231
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
33-
</ng-container>
3432
} @else {
35-
<ng-template>Sign In</ng-template>
33+
<div>Sign In</div>
3634
}
3735
</span>
3836
</div>

packages/devextreme-schematics/src/add-layout/files/src/app/shared/components/reset-password-form/reset-password-form.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
<div>
1919
<span class="dx-button-text">
2020
@if (loading) {
21-
<ng-container>
2221
<dx-load-indicator width="24px" height="24px" [visible]="true"></dx-load-indicator>
23-
</ng-container>
2422
} @else {
25-
<ng-template>Reset my password</ng-template>
23+
<div>Reset my password</div>
2624
}
2725
</span>
2826
</div>>

0 commit comments

Comments
 (0)