mirror of
https://github.com/zen-browser/components.git
synced 2025-07-08 16:59:59 +02:00
refactor: Improve logging in createOrChangeSplitView method
This commit is contained in:
parent
3b299aa604
commit
8284c96473
1 changed files with 1 additions and 0 deletions
|
@ -227,6 +227,7 @@ class SplitViewsBase extends SplitViewsUtils {
|
||||||
*/
|
*/
|
||||||
createOrChangeSplitView(tabs, type) {
|
createOrChangeSplitView(tabs, type) {
|
||||||
let activeTab = tabs.find(tab => this.isTabSplit(tab));
|
let activeTab = tabs.find(tab => this.isTabSplit(tab));
|
||||||
|
this.log(`createOrChangeSplitView: ${type}`);
|
||||||
let viewId = -1;
|
let viewId = -1;
|
||||||
if (activeTab) {
|
if (activeTab) {
|
||||||
viewId = this.changeSplitViewBase(activeTab, type, tabs);
|
viewId = this.changeSplitViewBase(activeTab, type, tabs);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue