mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(ui): add sorting icon component and table header cell styling EE-3626 (#7165)
* feat(ui): add sorting icons EE-3626 feat(ui): Add react component for sorting icons feat(ui) make component usable in angular * feat(ui): update angular example EE-3626
This commit is contained in:
parent
712207e69f
commit
14a8b1d897
17 changed files with 272 additions and 136 deletions
|
@ -67,7 +67,13 @@ export function react2angular<T, U extends PropNames<T>[]>(
|
|||
el
|
||||
);
|
||||
};
|
||||
this.$onDestroy = () => ReactDOM.unmountComponentAtNode(el);
|
||||
this.$onDestroy = () => {
|
||||
// eslint-disable-next-line react/no-find-dom-node
|
||||
const domNode = ReactDOM.findDOMNode(el);
|
||||
if (domNode != null && domNode.parentElement != null) {
|
||||
ReactDOM.unmountComponentAtNode(domNode.parentElement);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue