mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Maddy/properties widget for endpoints (#5654)
* changes to resue properties widget for endpoints * comments added * added loader * changes to address the review comments: code clean up and constants * dark theme style fox and misc * added varibale for display aligment * renamed hyperlink to isHyperlink * added endpoints as a modelview to be used on dashboard * added padding to fix the overlap issues. * removed the propertieswidget changes * formatting fixes for hygiene errors * renamed endpoints to bdc-endpoints * chnages to address the comments * added null check
This commit is contained in:
@@ -213,7 +213,9 @@ export async function getClusterEndpoint(profileId: string, serviceName: string)
|
||||
let clusterEndpoint: IEndpoint = {
|
||||
serviceName: endpoints[index].serviceName,
|
||||
ipAddress: endpoints[index].ipAddress,
|
||||
port: endpoints[index].port
|
||||
port: endpoints[index].port,
|
||||
isHyperlink: false,
|
||||
hyperlink: null
|
||||
};
|
||||
return clusterEndpoint;
|
||||
}
|
||||
@@ -222,6 +224,8 @@ export interface IEndpoint {
|
||||
serviceName: string;
|
||||
ipAddress: string;
|
||||
port: number;
|
||||
isHyperlink: boolean;
|
||||
hyperlink: string;
|
||||
}
|
||||
|
||||
export function isValidNumber(maybeNumber: any) {
|
||||
|
||||
Reference in New Issue
Block a user