mirror of
https://github.com/goharbor/harbor
synced 2025-04-08 06:43:07 +00:00
Merge pull request #4764 from pengpengshui/addLock
Fix issue about read only mode warning undisappear about #4741
This commit is contained in:
commit
888379dfb5
|
@ -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