feat: Add title while linking the linear issue (#9529)

This commit is contained in:
Muhsin Keloth
2024-05-23 13:32:41 +05:30
committed by GitHub
parent 0c4c561313
commit f83af33b87
6 changed files with 39 additions and 12 deletions

View File

@@ -56,6 +56,10 @@ const props = defineProps({
type: [Number, String],
required: true,
},
title: {
type: String,
default: null,
},
});
const emits = defineEmits(['close']);
@@ -113,7 +117,7 @@ const linkIssue = async () => {
const { id: issueId } = selectedOption.value;
try {
isLinking.value = true;
await LinearAPI.link_issue(props.conversationId, issueId);
await LinearAPI.link_issue(props.conversationId, issueId, props.title);
useAlert(t('INTEGRATION_SETTINGS.LINEAR.LINK.LINK_SUCCESS'));
searchQuery.value = '';
issues.value = [];