mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-14 18:05:12 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user