components now track their parent

This commit is contained in:
zadam
2020-02-15 09:43:47 +01:00
parent 9337564075
commit 6d847d22d3
14 changed files with 66 additions and 58 deletions

View File

@@ -15,7 +15,7 @@ class TabContext extends Component {
* @param {string|null} tabId
*/
constructor(appContext, tabId = null) {
super(appContext);
super(appContext, parent);
this.tabId = tabId || utils.randomString(4);