diff --git a/frontend/src/components/MarkdownEditor.vue b/frontend/src/components/MarkdownEditor.vue index ac4d3790..8c4b74d2 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 d54f0024..80702657 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 f5f1dc50..290ab4bb 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({