fix issue about read only mode warning undisappear about #4741

This commit is contained in:
pfh 2018-04-23 11:24:31 +08:00
parent f72a41694a
commit 9994ea6974

View File

@ -266,7 +266,7 @@ export class ConfigurationComponent implements OnInit, OnDestroy {
this.msgHandler.handleReadOnly();
}
if (changes['read_only'] && changes['read_only'].toString() === "false") {
if (changes && changes['read_only'] === false) {
this.msgHandler.clear();
}