mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
fix label clear bug, invalid delete URL, and remove dead connector method
This commit is contained in:
parent
4c1fbc7482
commit
e79ec9234a
3 changed files with 9 additions and 23 deletions
|
|
@ -198,6 +198,7 @@ function ApprovalCard({
|
|||
}
|
||||
|
||||
function buildFinalArgs() {
|
||||
const labelsWereProposed = Array.isArray(actionArgs.new_label_ids);
|
||||
return {
|
||||
issue_id: issue?.id,
|
||||
document_id: issue?.document_id,
|
||||
|
|
@ -207,7 +208,7 @@ function ApprovalCard({
|
|||
new_state_id: selectedStateId === "__none__" ? null : selectedStateId,
|
||||
new_assignee_id: selectedAssigneeId === "__none__" ? null : selectedAssigneeId,
|
||||
new_priority: selectedPriority === "__none__" ? null : Number(selectedPriority),
|
||||
new_label_ids: selectedLabelIds,
|
||||
new_label_ids: labelsWereProposed || selectedLabelIds.length > 0 ? selectedLabelIds : null,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue