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
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;
|
const newLabelHtml = this.createLabelDomElement().innerHTML;
|
||||||
if (oldLabelHtml !== newLabelHtml) {
|
if (oldLabelHtml !== newLabelHtml) {
|
||||||
this.labelElementRef.innerHTML = newLabelHtml;
|
this.labelElementRef.innerHTML = newLabelHtml;
|
||||||
}
|
this.changeLabelPosition(this.itemProps.labelPosition);
|
||||||
|
} else {
|
||||||
// Change label position.
|
// Change label position.
|
||||||
if (!prevProps || prevProps.labelPosition !== this.props.labelPosition) {
|
if (!prevProps || prevProps.labelPosition !== this.props.labelPosition) {
|
||||||
this.changeLabelPosition(this.props.labelPosition);
|
this.changeLabelPosition(this.props.labelPosition);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//Change z-index class is-on-top
|
//Change z-index class is-on-top
|
||||||
if (!prevProps || prevProps.isOnTop !== this.props.isOnTop) {
|
if (!prevProps || prevProps.isOnTop !== this.props.isOnTop) {
|
||||||
if (this.props.isOnTop) {
|
if (this.props.isOnTop) {
|
||||||
|
|
Loading…
Reference in New Issue