mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
fix issue about read only mode warning undisappear about #4741
This commit is contained in:
parent
f72a41694a
commit
9994ea6974
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user