|
|
|
@ -237,10 +237,6 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { |
|
|
|
return this.accessForm?.get('type')?.value as AccessType; |
|
|
|
} |
|
|
|
|
|
|
|
protected get isMcpAccess() { |
|
|
|
return this.accessType === 'MCP'; |
|
|
|
} |
|
|
|
|
|
|
|
protected get isPublicAccess() { |
|
|
|
return this.accessType === 'PUBLIC'; |
|
|
|
} |
|
|
|
@ -250,7 +246,7 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { |
|
|
|
headers: { |
|
|
|
Authorization: `Bearer ${this.accessId}` |
|
|
|
}, |
|
|
|
type: 'https', |
|
|
|
type: 'http', |
|
|
|
url: `${this.baseUrl}${MCP_ENDPOINT}` |
|
|
|
}; |
|
|
|
} |
|
|
|
@ -283,6 +279,10 @@ export class GfCreateOrUpdateAccessDialogComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private get isMcpAccess() { |
|
|
|
return this.accessType === 'MCP'; |
|
|
|
} |
|
|
|
|
|
|
|
private async createAccess() { |
|
|
|
const filters = this.getFilters(); |
|
|
|
|
|
|
|
|