mirror of https://github.com/apache/cloudstack.git
ui: Remove double footer (#5437)
This commit is contained in:
parent
2a243b8b69
commit
8ca3e4a915
|
|
@ -320,9 +320,7 @@
|
|||
v-model="addVmModalVisible"
|
||||
class="vm-modal"
|
||||
width="60vw"
|
||||
:okButtonProps="{ props:
|
||||
{disabled: newRule.virtualmachineid === [] } }"
|
||||
@cancel="closeModal"
|
||||
:footer="null"
|
||||
v-ctrl-enter="handleAddNewRule"
|
||||
>
|
||||
<div>
|
||||
|
|
@ -402,7 +400,7 @@
|
|||
|
||||
<div :span="24" class="action-button">
|
||||
<a-button @click="closeModal">{{ $t('label.cancel') }}</a-button>
|
||||
<a-button type="primary" @click="handleAddNewRule">{{ $t('label.ok') }}</a-button>
|
||||
<a-button :disabled="newRule.virtualmachineid === []" type="primary" @click="handleAddNewRule">{{ $t('label.ok') }}</a-button>
|
||||
</div>
|
||||
</a-modal>
|
||||
|
||||
|
|
|
|||
|
|
@ -186,9 +186,7 @@
|
|||
v-model="addVmModalVisible"
|
||||
class="vm-modal"
|
||||
width="60vw"
|
||||
:okButtonProps="{ props:
|
||||
{disabled: newRule.virtualmachineid === null } }"
|
||||
@cancel="closeModal"
|
||||
:footer="null"
|
||||
v-ctrl-enter="addRule"
|
||||
>
|
||||
<div>
|
||||
|
|
@ -266,7 +264,7 @@
|
|||
</div>
|
||||
<div :span="24" class="action-button">
|
||||
<a-button @click="closeModal">{{ $t('label.cancel') }}</a-button>
|
||||
<a-button type="primary" ref="submit" @click="addRule">{{ $t('label.ok') }}</a-button>
|
||||
<a-button type="primary" ref="submit" :disabled="newRule.virtualmachineid === null" @click="addRule">{{ $t('label.ok') }}</a-button>
|
||||
</div>
|
||||
</a-modal>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue