webview: Add "role" key to webview property.

This commit is contained in:
Abhigyan Khaund
2019-04-18 19:35:21 +05:30
committed by Akash Nimare
parent d99c29301e
commit 43840a5245

View File

@@ -186,6 +186,7 @@ class ServerManagerView {
index,
tabIndex,
url: server.url,
role: 'server',
name: CommonUtil.decodeString(server.alias),
isActive: () => {
return index === this.activeTabIndex;
@@ -337,6 +338,7 @@ class ServerManagerView {
index: this.functionalTabs[tabProps.name],
tabIndex,
url: tabProps.url,
role: 'function',
name: tabProps.name,
isActive: () => {
return this.functionalTabs[tabProps.name] === this.activeTabIndex;