mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2025-04-26 23:19:54 +03:00
feat: default registries is set only when there is no registries
This commit is contained in:
parent
8fcae3cda4
commit
dd26bf66a2
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
state.snackbarMessage = undefined;
|
||||
},
|
||||
onBeforeMount(props) {
|
||||
if (props.defaultRegistries && props.defaultRegistries.length > 0) {
|
||||
if (props.defaultRegistries && props.defaultRegistries.length > 0 && getRegistryServers().length === 0) {
|
||||
setRegistryServers(props.defaultRegistries);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue