From be6f1eee5056aede1200131239fcf4040e4793c7 Mon Sep 17 00:00:00 2001 From: Till Wanner Date: Wed, 7 Aug 2024 12:04:45 +0200 Subject: [PATCH] fix: merge conflicts & remove cat gif --- frontend/src/components/MarkdownEditor.vue | 2 +- frontend/src/components/UserStories.vue | 2 +- .../src/components/UserStoryDescriptions.vue | 35 +++---------------- frontend/src/views/MemberVotePage.vue | 2 +- frontend/src/views/PrepareSessionPage.vue | 11 +++++- frontend/src/views/SessionPage.vue | 25 ++++++------- 6 files changed, 28 insertions(+), 49 deletions(-) diff --git a/frontend/src/components/MarkdownEditor.vue b/frontend/src/components/MarkdownEditor.vue index ac4d3790b..8c4b74d28 100644 --- a/frontend/src/components/MarkdownEditor.vue +++ b/frontend/src/components/MarkdownEditor.vue @@ -110,7 +110,7 @@ export default defineComponent({ default: null }, acceptedStories: { - type: Array<{ storyID: number | null, issueType: string }>, + type: Array<{ storyID: string | null, issueType: string }>, required: false, default: [] }, diff --git a/frontend/src/components/UserStories.vue b/frontend/src/components/UserStories.vue index d54f0024e..807026573 100644 --- a/frontend/src/components/UserStories.vue +++ b/frontend/src/components/UserStories.vue @@ -196,7 +196,7 @@ export default defineComponent({ }, addUserStory() { const story: UserStory = { - id: this.storyMode === "US_JIRA" ? null : this.generateNumericUUID(), + id: this.storyMode === "US_JIRA" ? null : this.generateNumericUUID().toString(), title: "", description: "", estimation: null, diff --git a/frontend/src/components/UserStoryDescriptions.vue b/frontend/src/components/UserStoryDescriptions.vue index f5f1dc503..290ab4bb9 100644 --- a/frontend/src/components/UserStoryDescriptions.vue +++ b/frontend/src/components/UserStoryDescriptions.vue @@ -57,7 +57,7 @@ export default defineComponent({ editDescription: { type: Boolean, required: true, default: false }, gptDescriptionResponse: { type: Boolean, required: false, default: false }, updateComponent: { type: Boolean, required: false, default: false }, - acceptedStories: { type: Array<{ storyID: number | null, issueType: string }>, required: false, default: []}, + acceptedStories: { type: Array<{ storyID: string | null, issueType: string }>, required: false, default: []}, hasApiKey: { type: Boolean, required: false, default: false }, }, setup() { @@ -67,7 +67,7 @@ export default defineComponent({ data() { return { userStories: [] as Array<{ - id: number | null; + id: string | null; title: string; description: string; estimation: string | null; @@ -78,7 +78,7 @@ export default defineComponent({ watch: { initialStories() { this.userStories = this.initialStories as Array<{ - id: number | null; + id: string | null; title: string; description: string; estimation: string | null; @@ -88,7 +88,7 @@ export default defineComponent({ }, created() { this.userStories = this.initialStories as Array<{ - id: number | null; + id: string | null; title: string; description: string; estimation: string | null; @@ -118,33 +118,6 @@ export default defineComponent({