summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts
diff options
context:
space:
mode:
authorAijana Schumann <aijana.schumann@highstreet-technologies.com>2021-02-18 10:55:11 +0100
committerAijana Schumann <aijana.schumann@highstreet-technologies.com>2021-02-18 10:55:11 +0100
commitf333557c8bf0a74eb7b88d6294dea2a420b1ec61 (patch)
tree696dabd7e02e97f53ff936e54543a31944696c3d /sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts
parent5cf15b27796b68b3edbfc1e59f258dee1e10b2b9 (diff)
Update NetworkMap and LinkCalculator
Update NetworkMap and LinkCalculator to use the topology-server-v2 API, minior bugfixes for NetworkMap Issue-ID: CCSDK-3172 Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com> Change-Id: Ia5690c5039d7a9431443bc131fe398cc79d08287
Diffstat (limited to 'sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts')
-rw-r--r--sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts b/sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts
index 20c4e5aad..59085d499 100644
--- a/sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts
+++ b/sdnr/wt/odlux/apps/networkMapApp/src/utils/utils.ts
@@ -17,9 +17,9 @@
*/
import { link } from "../model/link";
-import { site } from "../model/site";
+import { Site } from "../model/site";
-export function isSite(data: link | site): data is site {
- return (data as site).geoLocation !== undefined;
+export function isSite(data: link | Site): data is Site {
+ return (data as Site).location !== undefined;
} \ No newline at end of file