Skip to content

Commit

Permalink
Merge pull request #14 from plastic-io/ghpages-deploy
Browse files Browse the repository at this point in the history
Ghpages deploy
  • Loading branch information
TonyGermaneri committed Sep 24, 2023
2 parents c269c15 + a6014f6 commit 0a7a06d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/Manager/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class GraphManager extends EditorModule {
constructor(config: Record<string, any>, app: App<Element>, hostRouter: Router) {
super();
hostRouter.addRoute('GraphManager', {
path: "/graphs",
path: "/",
name: "GraphManager",
component: _GraphManager,
});
Expand Down
1 change: 1 addition & 0 deletions packages/workspace/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {useStore as usePreferencesStore} from "@plastic-io/graph-editor-vue3-pre

export default (router: Router) => {
router.beforeEach(async (to, from, next) => {
console.log('Route', to, from);
const scripts = (usePreferencesStore() as any).preferences.componentScripts.replace('\n', ',').split(',');
const promises = scripts.map((src) => {
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 0a7a06d

Please sign in to comment.