mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 07:30:34 +08:00
Fix issue creation
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
let title: string = "";
|
||||
let description: string = "";
|
||||
let preview: boolean = false;
|
||||
const announce = false;
|
||||
|
||||
const labels: string[] = [];
|
||||
const assignees: Author[] = [];
|
||||
@@ -37,6 +38,7 @@
|
||||
const response: Issue = await invoke("create_issue", {
|
||||
rid: repo.rid,
|
||||
new: { title, description, labels, assignees, embeds },
|
||||
opts: { announce },
|
||||
});
|
||||
void router.push({
|
||||
resource: "repo.issue",
|
||||
|
||||
Reference in New Issue
Block a user