Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 48c1021

Browse files
committed
angular bug
ci build files
1 parent b0faa05 commit 48c1021

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

azure-pipelines.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
displayName: 'NPM - Build Prod - AdminUI'
5454
inputs:
5555
command: custom
56-
customCommand: 'run build -- --base-href=/admin-ui/'
56+
customCommand: 'NG build -- --prod'
5757
workingDir: src/Frontend/Jp.AdminUI
5858

5959
- job: 'docker'

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
displayName: 'NPM - Build Prod - AdminUI'
8181
inputs:
8282
command: custom
83-
customCommand: 'run build -- --base-href=/admin-ui/'
83+
customCommand: 'NG build -- --prod'
8484
workingDir: src/Frontend/Jp.AdminUI
8585

8686
- task: ArchiveFiles@2

src/Frontend/Jp.AdminUI/src/app/panel/settings/emails/email-settings.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<i class="fa fa-comment-dots"></i></label>
4747
<div class="col-xl-8">
4848
<label class="switch m-0">
49-
<input type="checkbox" [(ngModel)]="useSsl" (ngModelChange)="settings.useSsl.value = useSsl" />
49+
<input type="checkbox" [(ngModel)]="useSsl" (ngModelChange)="changeUseSsl()" />
5050
<span></span>
5151
</label>
5252
</div>
@@ -65,7 +65,7 @@
6565
<i class="fa fa-comment-dots"></i></label>
6666
<div class="col-xl-8">
6767
<label class="switch m-0">
68-
<input type="checkbox" [(ngModel)]="sendMail" (ngModelChange)="settings.sendMail.value = sendMail" />
68+
<input type="checkbox" [(ngModel)]="sendMail" (ngModelChange)="changeSendEmail()" />
6969
<span></span>
7070
</label>
7171
</div>

src/Frontend/Jp.AdminUI/src/app/panel/settings/emails/email-settings.component.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,12 @@ export class EmailSettingsComponent implements OnInit {
7979
this.toasterService.pop("success", a["title-success"], a["message-success"]);
8080
});
8181
}
82+
83+
public changeUseSsl(){
84+
this.settings.useSsl.value = this.useSsl.toString();
85+
}
86+
87+
public changeSendEmail(){
88+
this.settings.sendMail.value = this.sendMail.toString();
89+
}
8290
}

0 commit comments

Comments
 (0)