Skip to content

Commit 184484a

Browse files
committed
initialize TargetAliasService
1 parent 741be33 commit 184484a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/openshift/components/CryostatContainer.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import * as React from 'react';
5454
import { Provider } from 'react-redux';
5555
import { map, Observable, of } from 'rxjs';
5656
import CryostatSelector from './CryostatSelector';
57+
import { TargetAliasService } from '@app/Shared/Services/TargetAlias.service';
5758

5859
export const SESSIONSTORAGE_SVC_NS_KEY = 'cryostat-svc-ns';
5960
export const SESSIONSTORAGE_SVC_NAME_KEY = 'cryostat-svc-name';
@@ -95,6 +96,7 @@ const services = (svc: CryostatService): Services => {
9596
const notificationChannel = new NotificationChannel(ctx, NotificationsInstance, login);
9697
const reports = new ReportService(ctx, NotificationsInstance, notificationChannel);
9798
const targets = new TargetsService(api, NotificationsInstance, notificationChannel);
99+
const targetAlias = new TargetAliasService(api);
98100

99101
return {
100102
target,
@@ -104,6 +106,7 @@ const services = (svc: CryostatService): Services => {
104106
notificationChannel,
105107
settings,
106108
login,
109+
targetAlias,
107110
};
108111
};
109112

0 commit comments

Comments
 (0)