feat: refs #6403 add delete #2743
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2743
Loading…
Reference in New Issue
No description provided.
Delete Branch "6403-feat-add-mrw-delete-on-salix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -40,3 +40,3 @@
const parser = new DOMParser();
const xmlDoc = parser.parseFromString(xmlString, 'text/xml');
return xmlDoc.getElementsByTagName('Mensaje')[0].textContent;
const result = xmlDoc.getElementsByTagName('Mensaje')[0].textContent;
const [{textContent}] = xmlDoc.getElementsByTagName('Mensaje')
return textContent.toLowerCase().includes('se ha cancelado correctamente');