Claim context: smaller form for categories, remove unsused variable token

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@52312 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2018-06-01 12:34:27 +00:00
parent e392e754fc
commit e4bc0772aa
1 changed files with 1 additions and 3 deletions

View File

@ -28,7 +28,7 @@ import{EnvProperties} from '../../utils/properties/env-properties';
</select>
</td>
<td *ngIf="selectedCommunityId != '0' && categories.length > 0">
<select [(ngModel)]="selectedCategoryId" (ngModelChange)="categoryChanged()" class="uk-select uk-width-medium " name="select_funder" >
<select [(ngModel)]="selectedCategoryId" (ngModelChange)="categoryChanged()" class="uk-select uk-width-small " name="select_funder" >
<option value="0" >Select category</option>
<option *ngFor="let category of categories" [value]="category.id" >{{category.label}}</option>
</select>
@ -200,7 +200,6 @@ getCommunities () {
}else{
this.loading = true;
var token=Session.getUserJwt();
this._contextService.getCommunities(this.properties.contextsAPI).subscribe(
data => {
this.communities = data;
@ -222,7 +221,6 @@ getCommunities () {
this.saveStateAndRedirectLogin();
}else{
var token=Session.getUserJwt();
this._contextService.getCategories(this.selectedCommunityId,this.properties.contextsAPI).subscribe(
data => {