mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 22:09:59 +02:00
Split views now add missing tabs to the group
This commit is contained in:
parent
76f54a4f21
commit
a2cc3ed395
1 changed files with 6 additions and 0 deletions
|
@ -240,6 +240,12 @@ var gZenViewSplitter = new class {
|
|||
group.tabs.includes(existingSplitTab)
|
||||
);
|
||||
if (groupIndex >= 0) {
|
||||
// Add any tabs that are not already in the group
|
||||
for (const tab of tabs) {
|
||||
if (!this._data[groupIndex].tabs.includes(tab)) {
|
||||
this._data[groupIndex].tabs.push(tab);
|
||||
}
|
||||
}
|
||||
this.updateSplitView(existingSplitTab);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue