Merge branch 'ent-12638-16777-inconsistencia-en-los-comentarios-de-items-en-visual-console' into 'develop'
Ent 12638 16777 inconsistencia en los comentarios de items en visual console See merge request artica/pandorafms!6801
This commit is contained in:
commit
e863fbc999
pandora_console/include/visual-console-client
visual_console_client/src
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -851,12 +851,14 @@ abstract class VisualConsoleItem<Props extends ItemProps> {
|
|||
const newLabelHtml = this.createLabelDomElement().innerHTML;
|
||||
if (oldLabelHtml !== newLabelHtml) {
|
||||
this.labelElementRef.innerHTML = newLabelHtml;
|
||||
this.changeLabelPosition(this.itemProps.labelPosition);
|
||||
} else {
|
||||
// Change label position.
|
||||
if (!prevProps || prevProps.labelPosition !== this.props.labelPosition) {
|
||||
this.changeLabelPosition(this.props.labelPosition);
|
||||
}
|
||||
}
|
||||
|
||||
// Change label position.
|
||||
if (!prevProps || prevProps.labelPosition !== this.props.labelPosition) {
|
||||
this.changeLabelPosition(this.props.labelPosition);
|
||||
}
|
||||
//Change z-index class is-on-top
|
||||
if (!prevProps || prevProps.isOnTop !== this.props.isOnTop) {
|
||||
if (this.props.isOnTop) {
|
||||
|
|
Loading…
Reference in New Issue