Skip to content

Fix updating labels

Natalia Tepluhina requested to merge ntepluhina-fix-labels-update into master

What does this MR do and why?

Due to a direct reassign of the component property that is an Apollo query, sometimes updateLabels method fails. This MR attempts to fix this behaviour. On top of this, this MR simplifies the logic with aliasing all the update labels mutations and adds unit tests for updating labels.

Screenshots or screen recordings

No visual changes

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading