diff --git a/admin/frontend/src/components/NewStory.vue b/admin/frontend/src/components/NewStory.vue index cd93aa4..d404333 100644 --- a/admin/frontend/src/components/NewStory.vue +++ b/admin/frontend/src/components/NewStory.vue @@ -1,23 +1,37 @@ @@ -63,7 +77,7 @@ request.createStory(this.storyName, newStoryInfo) .then(() => { - this.$router.push({ name: 'story-runners', params: { storyName: this.storyName } }, () => { + this.$router.push({name: 'story-runners', params: {storyName: this.storyName}}, () => { bus.$emit('notify', `new story ${this.storyName} has been created.`) }) }) diff --git a/admin/frontend/src/components/Runners.vue b/admin/frontend/src/components/Runners.vue index 8765ec2..f1c28c7 100644 --- a/admin/frontend/src/components/Runners.vue +++ b/admin/frontend/src/components/Runners.vue @@ -2,6 +2,15 @@
+ +
diff --git a/admin/frontend/src/components/Story.vue b/admin/frontend/src/components/Story.vue index 4c2cc88..1adea2d 100644 --- a/admin/frontend/src/components/Story.vue +++ b/admin/frontend/src/components/Story.vue @@ -1,91 +1,107 @@ @@ -101,7 +117,7 @@ import StoryStatistics from './StoryStatistics.vue' import bus from '../lib/bus' - let tabRouteMapping: { [key:string]: string } = { + let tabRouteMapping: { [key: string]: string } = { 'overview': 'story', 'fallback': 'story-fallback', 'monitoring': 'story-statistics', @@ -148,7 +164,7 @@ changeTab(tab: string) { let routeName = tabRouteMapping[tab] - this.$router.push({ name: routeName, params: { storyName: this.storyName } }) + this.$router.push({name: routeName, params: {storyName: this.storyName}}) // this.currTab = tab },