fix(console): changes, project grant create, member add, org setup, project search autocomplete, grpc header url decoding (#303)

* mobile max-width container

* fix project search autocomplete

* remove changes error, add bottom label

* fix project grant, contributor add
This commit is contained in:
Max Peintner
2020-06-26 16:45:18 +02:00
committed by GitHub
parent 63ccdb1147
commit 5fc250f046
27 changed files with 167 additions and 101 deletions
@@ -21,10 +21,6 @@ export class GrpcOrgInterceptor implements GrpcInterceptor {
if (!metadata[orgKey] && org) {
metadata[orgKey] = org.id ?? '';
}
// metadata['x-zitadel-login'] = 'true';
// metadata['x-zitadel-userid'] = '58922557365027097';
// metadata['x-zitadel-orgid'] = '58922556878487833';
return await next.handle(req, metadata);
}
}
+2 -1
View File
@@ -6,6 +6,7 @@ import { ManagementServicePromiseClient } from '../proto/generated/management_gr
import {
AddOrgDomainRequest,
AddOrgMemberRequest,
Domain,
Iam,
Org,
OrgDomain,
@@ -123,7 +124,7 @@ export class OrgService {
}
public async getOrgByDomainGlobal(domain: string): Promise<Org> {
const req = new OrgDomain();
const req = new Domain();
req.setDomain(domain);
return await this.request(
c => c.getOrgByDomainGlobal,
+1 -1
View File
@@ -12,7 +12,7 @@ export class ToastService {
}
public showError(message: string): void {
this.showMessage(message, 'close');
this.showMessage(decodeURI(message), 'close');
}
private showMessage(message: string, action: string): void {