@pb33f/cowboy-components 0.7.11 → 0.7.13
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.
|
@@ -916,7 +916,7 @@ let TheDoctor = class TheDoctor extends LitElement {
|
|
|
916
916
|
</sl-tab-panel>
|
|
917
917
|
|
|
918
918
|
<sl-tab-panel name="docs" class="tab-panel" style="height: calc(100vh - 100px)">
|
|
919
|
-
|
|
919
|
+
<iframe src="${this.doctorEndpoint}/model/scalar-template?z=${this.randomTicker}" width="100%" height="100%" style="border: none"></iframe>
|
|
920
920
|
</sl-tab-panel>
|
|
921
921
|
|
|
922
922
|
${this.authController.authenticated ? html `
|
|
@@ -58,7 +58,14 @@ export class BrokerController extends EventTarget {
|
|
|
58
58
|
const memVersion = localStorage.getItem("pb33f-doctor-version");
|
|
59
59
|
if (memVersion) {
|
|
60
60
|
if (this.currentVersion != memVersion) {
|
|
61
|
-
this.doc.
|
|
61
|
+
if (!this.doc.authController.authenticated) {
|
|
62
|
+
this.doc.nukeWorkspaceHandler();
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
this.doc.bagManager.resetBags();
|
|
66
|
+
localStorage.removeItem("pb33f-doctor-version");
|
|
67
|
+
window.location.reload();
|
|
68
|
+
}
|
|
62
69
|
return;
|
|
63
70
|
}
|
|
64
71
|
}
|