FIx merge hotfix 7.2.2

This commit is contained in:
Julia Radzhabova 2022-12-05 10:48:57 +03:00
parent 9f21320d78
commit 92052e645a

View file

@ -2932,7 +2932,7 @@ define([
this.lockToolbar(Common.enumLock.cantPrint, true, {array: [this.btnPrint]});
} else {
this.mode = mode;
!mode.canPrint && this.btnPrint.hide();
!mode.canPrint && this.btnPrint && this.btnPrint.hide();
this.lockToolbar(Common.enumLock.cantPrint, !mode.canPrint, {array: [this.btnPrint]});
}