Skip to content

Commit 1ee77e9

Browse files
committed
PD-3931
1 parent f903795 commit 1ee77e9

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

SUPPORTED_BROWSERS.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
> This file is auto-generated from `.browserslistrc` during the prebuild step. Do not edit manually.
44
5-
| Browser | Minimum version |
6-
|---------|-----------------|
7-
| Android WebView | 145 or newer |
8-
| Apple Safari | 17 or newer |
9-
| Google Chrome | 119 or newer |
10-
| Microsoft Edge | 119 or newer |
11-
| Mozilla Firefox | 119 or newer |
12-
| Opera | 105 or newer |
13-
| Opera Mobile | 80 or newer |
14-
| Samsung Internet | 25 or newer |
5+
| Browser | Minimum version |
6+
| ---------------- | --------------- |
7+
| Android WebView | 145 or newer |
8+
| Apple Safari | 17 or newer |
9+
| Google Chrome | 119 or newer |
10+
| Microsoft Edge | 119 or newer |
11+
| Mozilla Firefox | 119 or newer |
12+
| Opera | 105 or newer |
13+
| Opera Mobile | 80 or newer |
14+
| Samsung Internet | 25 or newer |

src/app/cdk/side-bar/modals/modal-websites/modal-websites.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ export class ModalWebsitesComponent implements OnInit, OnDestroy {
152152
websites: [],
153153
visibility: this.originalBackendWebsites.visibility,
154154
}
155-
this._changeDetectorRef.detach()
156155
this.websites.reverse()
157156
this.websites
158157
.map((value) => value.putCode)
@@ -178,15 +177,15 @@ export class ModalWebsitesComponent implements OnInit, OnDestroy {
178177
}
179178

180179
saveEvent() {
181-
if (this.isSavingWebsites) {
180+
if (this.loadingWebsites || this.isSavingWebsites) {
182181
return
183182
}
184183

184+
this.isSavingWebsites = true
185185
this.websitesForm.markAllAsTouched()
186186
this.websitesForm.updateValueAndValidity()
187187

188188
if (this.websitesForm.valid) {
189-
this.isSavingWebsites = true
190189
this._recordWebsitesService
191190
.postWebsites(this.formToBackend(this.websitesForm))
192191
.pipe(
@@ -201,6 +200,7 @@ export class ModalWebsitesComponent implements OnInit, OnDestroy {
201200
() => {}
202201
)
203202
} else {
203+
this.isSavingWebsites = false
204204
this._snackBar.showValidationError()
205205
}
206206
}

0 commit comments

Comments
 (0)