Click server name in settings to show webview.

This commit is contained in:
Zhongyi Tong
2017-08-04 13:04:43 +08:00
parent 289417e5a9
commit d25d71cb91
4 changed files with 22 additions and 3 deletions

View File

@@ -161,7 +161,7 @@ class ServerManagerView {
}
activateTab(index, hideOldTab = true) {
if (this.tabs[index].loading) {
if (this.tabs[index].webview.loading) {
return;
}
@@ -178,7 +178,7 @@ class ServerManagerView {
}
destroyTab(name, index) {
if (this.tabs[index].loading) {
if (this.tabs[index].webview.loading) {
return;
}