There is an undeterministic error while testing the link tools because `this.linkComponentWrapperRef` is null at the time of calling `_updateOptionsUI` by the `onWillUpdateProps`. As using the element for setting the class is not idiomatic in owl, this commit adapt the code to use `t-att` attribute. runbot-23346 closes odoo/odoo#132535 X-original-commit: a16c8b8598761808f5cb2a712c6f5808297e48f3 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>