From 9c2b58829a6cb1bb5a01d0477b2be0897d1d9c1b Mon Sep 17 00:00:00 2001 From: Tony Germaneri Date: Mon, 8 Jan 2024 23:03:34 -0800 Subject: [PATCH] fixed popout link, enabled rewind. --- packages/CodeEditor/Editor.vue | 2 +- packages/Rewind/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/CodeEditor/Editor.vue b/packages/CodeEditor/Editor.vue index 463a4c8..8496f4a 100644 --- a/packages/CodeEditor/Editor.vue +++ b/packages/CodeEditor/Editor.vue @@ -255,7 +255,7 @@ export default { this.$emit('close'); const url = `${this.pathPrefix}popout-editor/${this.graphId}/${this.nodeId}/${this.templateType}/${this.language}`; const host = /^localhost:?/.test(window.location.host) ? (window.location.protocol - + '//' + window.location.host) : '/'; + + '//' + window.location.host) : ''; this.win = window.open(host + url, this.storeKey, `popup,width=${this.width},height=${this.width},top=${this.top},left=${this.left}`); for (let x = 500; x < 3000; x += 500) { diff --git a/packages/Rewind/main.ts b/packages/Rewind/main.ts index a153933..881e9fe 100644 --- a/packages/Rewind/main.ts +++ b/packages/Rewind/main.ts @@ -20,6 +20,6 @@ export default class GraphRewind extends EditorModule { divider: true, }); // this really isn't working well - // graphOrchestratorStore.addPlugin(rewindPluginIcon); + graphOrchestratorStore.addPlugin(rewindPluginIcon); } };