Browse Source

Some renamings

pull/1/head
Sebastian 10 years ago
parent
commit
dc5e2f5782
  1. 2
      src/Squidex/app/components/internal/app/settings/contributors-page.component.html
  2. 2
      src/Squidex/app/components/internal/app/settings/contributors-page.component.ts

2
src/Squidex/app/components/internal/app/settings/contributors-page.component.html

@ -35,7 +35,7 @@
</select>
</td>
<td>
<button class="btn btn-block btn-danger" [disabled]="currrentUserId === contributor.contributorId" (click)="revokeContributor(contributor)">Revoke</button>
<button class="btn btn-block btn-danger" [disabled]="currrentUserId === contributor.contributorId" (click)="removeContributor(contributor)">Remove</button>
</td>
</tr>
</table>

2
src/Squidex/app/components/internal/app/settings/contributors-page.component.ts

@ -133,7 +133,7 @@ export class ContributorsPageComponent implements Ng2.OnInit {
this.selectedUserName = null;
}
public revokeContributor(contributor: AppContributorDto) {
public removeContributor(contributor: AppContributorDto) {
this.appContributorsService.deleteContributor(this.appName, contributor.contributorId).subscribe();
this.appContributors.splice(this.appContributors.indexOf(contributor), 1);

Loading…
Cancel
Save