goblin-magic 1.9.1 → 1.9.2
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.
package/package.json
CHANGED
|
@@ -40,7 +40,6 @@ class ViewStateShape {
|
|
|
40
40
|
widgetProps = option(object);
|
|
41
41
|
highlighted = boolean;
|
|
42
42
|
parentViewId = option(id);
|
|
43
|
-
tabId = option(id); //used when we restore a tab
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
class ViewState extends Sculpt(ViewStateShape) {}
|
|
@@ -63,7 +62,6 @@ class ViewState extends Sculpt(ViewStateShape) {}
|
|
|
63
62
|
* @property {string} [View.widget]
|
|
64
63
|
* @property {object} [View.widgetProps]
|
|
65
64
|
* @property {View} [View.previousView]
|
|
66
|
-
* @property {string} [View.tabId]
|
|
67
65
|
*/
|
|
68
66
|
|
|
69
67
|
/**
|
|
@@ -75,7 +73,6 @@ class ViewState extends Sculpt(ViewStateShape) {}
|
|
|
75
73
|
* @property {string} [View.widget]
|
|
76
74
|
* @property {object} [View.widgetProps]
|
|
77
75
|
* @property {View} [View.previousView]
|
|
78
|
-
* @property {string} [View.tabId]
|
|
79
76
|
*/
|
|
80
77
|
|
|
81
78
|
/**
|
|
@@ -762,7 +759,7 @@ class MagicNavigation extends Elf {
|
|
|
762
759
|
})();
|
|
763
760
|
panelId = window.panelIds[newPanelIndex];
|
|
764
761
|
}
|
|
765
|
-
const tabId =
|
|
762
|
+
const tabId = `tab@${this.quest.uuidV4()}`;
|
|
766
763
|
const serviceId = await this._createService(view);
|
|
767
764
|
const tab = {
|
|
768
765
|
serviceId,
|