Commit 82fcc134 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

WebUI component:

- corrected retrieval of context/topology names
parent 374540e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -19,10 +19,10 @@ from context.client.ContextClient import ContextClient
from device.client.DeviceClient import DeviceClient

def get_working_context() -> str:
    return session['context_uuid'] if 'context_uuid' in session else '---'
    return session['context_name'] if 'context_name' in session else '---'

def get_working_topology() -> str:
    return session['topology_uuid'] if 'topology_uuid' in session else '---'
    return session['topology_name'] if 'topology_name' in session else '---'

def liveness():
    pass