Skip to content

Commit

Permalink
Fix Edit dialog submit button state
Browse files Browse the repository at this point in the history
The Edit button does not reflect the selected PHP-FPM install status.
  • Loading branch information
DavidePrincipi committed Nov 28, 2019
1 parent 03f8a2e commit bb47bf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/components/ModalVhostEdit.vue
Expand Up @@ -554,7 +554,8 @@ select {
v-else
v-on:click="$emit('modal-save')"
type="button"
class="btn btn-primary"
v-bind:disabled="selectedPhpNeedsInstall"
v-bind:class="'btn ' + ( selectedPhpNeedsInstall ? 'btn-default' : 'btn-primary')"
>{{ $t('edit') }}</button>
</div>
</div>
Expand Down

0 comments on commit bb47bf9

Please sign in to comment.