Comparing version 3.2.2 to 3.2.3
@@ -243,2 +243,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
updateTab(id, newTab, makeActive = true) { | ||
var _a; | ||
let tab = this.find(id, Algorithm.Filter.AnyTab); | ||
@@ -266,3 +267,3 @@ if (tab) { | ||
layout = Algorithm.fixLayoutData(layout, this.props.groups); | ||
this.changeLayout(layout, newTab.id, 'update'); | ||
this.changeLayout(layout, (_a = newTab === null || newTab === void 0 ? void 0 : newTab.id) !== null && _a !== void 0 ? _a : id, 'update'); | ||
return true; | ||
@@ -269,0 +270,0 @@ } |
@@ -268,2 +268,3 @@ "use strict"; | ||
updateTab(id, newTab, makeActive = true) { | ||
var _a; | ||
let tab = this.find(id, Algorithm.Filter.AnyTab); | ||
@@ -291,3 +292,3 @@ if (tab) { | ||
layout = Algorithm.fixLayoutData(layout, this.props.groups); | ||
this.changeLayout(layout, newTab.id, 'update'); | ||
this.changeLayout(layout, (_a = newTab === null || newTab === void 0 ? void 0 : newTab.id) !== null && _a !== void 0 ? _a : id, 'update'); | ||
return true; | ||
@@ -294,0 +295,0 @@ } |
{ | ||
"name": "rc-dock", | ||
"version": "3.2.2", | ||
"version": "3.2.3", | ||
"description": "dock layout for react component", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
572587
15318