From 2f53c8c6e2fec2911bb8a59bb81945699dd606a3 Mon Sep 17 00:00:00 2001 From: Ravi Pendurty Date: Mon, 18 Dec 2023 13:15:28 +0530 Subject: Web Client context menu item display Irrespective of connection state of the mountpoint Issue-ID: CCSDK-3975 Change-Id: I10f785024c7cca42e4c6dfe568ecb9f2412de213 Signed-off-by: Ravi Pendurty (cherry picked from commit de91a1ce57b39449d49b3a33da53190da2a364da) Signed-off-by: Ravi Pendurty --- .../apps/connectApp/src/actions/commonNetworkElementsActions.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sdnr/wt/odlux/apps/connectApp/src/actions') diff --git a/sdnr/wt/odlux/apps/connectApp/src/actions/commonNetworkElementsActions.ts b/sdnr/wt/odlux/apps/connectApp/src/actions/commonNetworkElementsActions.ts index 948f2aada..f1965269f 100644 --- a/sdnr/wt/odlux/apps/connectApp/src/actions/commonNetworkElementsActions.ts +++ b/sdnr/wt/odlux/apps/connectApp/src/actions/commonNetworkElementsActions.ts @@ -1,4 +1,3 @@ - /** * ============LICENSE_START======================================================================== * ONAP : ccsdk feature sdnr wt odlux @@ -82,7 +81,7 @@ export const findWebUrisForGuiCutThroughAsyncAction = (networkElementIds: string networkElementIds.forEach(id => { const item = networkElements.rows.find((ne) => ne.id === id); if (item) { - if (item.status === 'Connected') { + if (item.status) { // if (item.coreModelCapability !== "Unsupported") { // element is connected and is added to search list, if it doesn't exist already @@ -118,7 +117,7 @@ export const findWebUrisForGuiCutThroughAsyncAction = (networkElementIds: string }); - if (elementsToSearch.length > 0 || notConnectedElements.length > 0 || unsupportedElements.length > 0) { + if (elementsToSearch.length > 0 || unsupportedElements.length > 0) { const result = await connectService.getAllWebUriExtensionsForNetworkElementListAsync(elementsToSearch); dispatcher(new AddWebUriList(result, notConnectedElements, unsupportedElements, prevFoundElements)); } @@ -138,4 +137,3 @@ export const updateCurrentViewAsyncAction = () => (dispatch: Dispatch, getState: return dispatch(connectionStatusLogReloadAction); } }; - -- cgit 1.2.3-korg