From 2eff7a68c3cc6b740cfce6cca3f2ccc20d17e058 Mon Sep 17 00:00:00 2001 From: Jet Li Date: Wed, 31 Jul 2024 22:59:27 -0700 Subject: [PATCH] Allowing updating issue on frontend --- .../user/workspace/projectIssue/Issue.vue | 142 ++++++------------ 1 file changed, 47 insertions(+), 95 deletions(-) diff --git a/frontend/src/pages/user/workspace/projectIssue/Issue.vue b/frontend/src/pages/user/workspace/projectIssue/Issue.vue index a7bc3e1..b6e4f52 100644 --- a/frontend/src/pages/user/workspace/projectIssue/Issue.vue +++ b/frontend/src/pages/user/workspace/projectIssue/Issue.vue @@ -4,14 +4,8 @@

-

-
+
- -
+
-
@@ -81,22 +59,13 @@
-
+

-

-
+
-
+
- - - -
-

{{ issue.description }}

-
+

{{ + issue.description }}

+
- -
@@ -180,15 +131,12 @@
- +
@@ -280,11 +228,15 @@ export default { }, editIssue(issue) { console.log('edit issue', issue) + var attachment = null + if (issue.attachment != null) { + attachment = issue.attachment + } this.updatingIssue = { issue_id: issue.id, issue_title: issue.title, issue_description: issue.description, - issue_attachment: issue.attachment + issue_attachment: attachment } }, updateIssue() {