design: Only show the back button when needed.

Fixes: #421.
This commit is contained in:
Abhigyan Khaund
2018-02-23 00:53:23 +05:30
committed by Akash Nimare
parent b163c237b6
commit fa85241c79
4 changed files with 40 additions and 1 deletions

View File

@@ -284,6 +284,12 @@ class ServerManagerView {
}
}
try {
this.tabs[index].webview.canGoBackButton();
} catch (err) {
console.log(err);
}
this.activeTabIndex = index;
this.tabs[index].activate();