track current config separately
This commit is contained in:
@@ -117,13 +117,13 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="registryConfigEmail">Email</label>
|
||||
<input type="text" class="form-control" ng-model="registryConfig.email" id="registryConfigEmail" name="email" ng-disabled="registryConfig.busy" ng-required>
|
||||
<label class="control-label" for="registryConfigEmail">Email (Optional)</label>
|
||||
<input type="text" class="form-control" ng-model="registryConfig.email" id="registryConfigEmail" name="email" ng-disabled="registryConfig.busy">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="registryConfigPassword">Password/Token</label>
|
||||
<input type="text" class="form-control" ng-model="registryConfig.password" id="registryConfigPassword" name="password" ng-disabled="registryConfig.busy" ng-required>
|
||||
<input type="password" class="form-control" ng-model="registryConfig.password" id="registryConfigPassword" name="password" ng-disabled="registryConfig.busy" ng-required>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
@@ -326,7 +326,7 @@
|
||||
<span class="text-muted">Server address</span>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<span>{{ registryConfig.serverAddress || 'Not set' }}</span>
|
||||
<span>{{ registryConfig.currentConfig.serverAddress || 'Not set' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -334,7 +334,7 @@
|
||||
<span class="text-muted">Username</span>
|
||||
</div>
|
||||
<div class="col-xs-6 text-right">
|
||||
<span>{{ registryConfig.username || registryConfig.email || 'Not set' }}</span>
|
||||
<span>{{ registryConfig.currentConfig.username || registryConfig.currentConfig.email || 'Not set' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user