mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 23:59:56 +00: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();
|
this.msgHandler.handleReadOnly();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (changes['read_only'] && changes['read_only'].toString() === "false") {
|
if (changes && changes['read_only'] === false) {
|
||||||
this.msgHandler.clear();
|
this.msgHandler.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user