refactor: Improve logging in createOrChangeSplitView method

This commit is contained in:
Mauro Balades 2024-08-06 18:38:54 +02:00
parent 3b299aa604
commit 8284c96473

View file

@ -227,6 +227,7 @@ class SplitViewsBase extends SplitViewsUtils {
*/
createOrChangeSplitView(tabs, type) {
let activeTab = tabs.find(tab => this.isTabSplit(tab));
this.log(`createOrChangeSplitView: ${type}`);
let viewId = -1;
if (activeTab) {
viewId = this.changeSplitViewBase(activeTab, type, tabs);