Skip to content

Commit c8b2f0c

Browse files
committed
add disabled for cretirias for int & bool
1 parent 8afac33 commit c8b2f0c

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

projects/social_platform/src/app/office/features/project-rating/components/range-criterion-input/range-criterion-input.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[min]="0"
88
[max]="max"
99
[step]="1"
10+
[disabled]="disabled"
1011
(input)="onInput($event)"
1112
(keydown)="onKeydown($event)"
1213
(blur)="onBlur()"

projects/social_platform/src/app/office/features/project-rating/project-rating.component.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class="rating__input"
88
[max]="criterion.maxValue!"
99
[formControlName]="criterion.id"
10+
[disabled]="disabled"
1011
></app-range-criterion-input>
1112
<label class="text-body-10">{{ criterion.name }}</label>
1213
</div>
@@ -15,6 +16,7 @@
1516
<app-boolean-criterion
1617
class="rating__input"
1718
[formControlName]="criterion.id"
19+
[disabled]="disabled"
1820
></app-boolean-criterion>
1921
<label class="text-body-10">{{ criterion.name }}</label>
2022
</div>

projects/social_platform/src/app/office/services/subscription.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class SubscriptionService {
5757
* @returns Observable<ApiPagination<Project>> - объект с массивом проектов и метаданными пагинации
5858
*/
5959
getSubscriptions(userId: number, params?: HttpParams): Observable<ApiPagination<Project>> {
60-
return this.apiService.get(`${this.AUTH_USERS_URL}/${userId}/subscribed_projects`, params);
60+
return this.apiService.get(`${this.AUTH_USERS_URL}/${userId}/subscribed_projects/`, params);
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)