@antscorp/antsomi-ui 1.3.5-beta.401 → 1.3.5-beta.402
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -100,7 +100,7 @@ export const EditorTab = props => {
|
|
|
100
100
|
}
|
|
101
101
|
const newTabs = arrTabs.filter(item => item.id !== tab.id);
|
|
102
102
|
if (onClickRemoveTab)
|
|
103
|
-
onClickRemoveTab(tab, idx, newTabs);
|
|
103
|
+
return onClickRemoveTab(tab, idx, newTabs);
|
|
104
104
|
// const isConfirm = confirmOnRemoveTab ? await testAsync() : true;
|
|
105
105
|
// const isConfirm = await testAsync();
|
|
106
106
|
// const isConfirm = await modalConfirmAsync(tab);
|