fix tab race condition error

This commit is contained in:
Yuri Kuznetsov
2022-09-13 17:26:18 +03:00
parent 0af5bb1b4b
commit 625d2bc128
+3 -1
View File
@@ -430,7 +430,9 @@ define('views/record/panels-container', ['view'], function (Dep) {
d.hidden = false;
isFound = true;
this.controlTabVisibilityShow(d.tabNumber);
if (typeof d.tabNumber !== 'undefined') {
this.controlTabVisibilityShow(d.tabNumber);
}
}
});