diff --git a/ui/src/components/view/InfoCard.vue b/ui/src/components/view/InfoCard.vue index ec0bfcba167..9be6ac8868b 100644 --- a/ui/src/components/view/InfoCard.vue +++ b/ui/src/components/view/InfoCard.vue @@ -374,7 +374,8 @@
{{ $t('label.serviceofferingname') }}
- {{ resource.serviceofferingname || resource.serviceofferingid }} + {{ resource.serviceofferingname || resource.serviceofferingid }} + {{ resource.serviceofferingname || resource.serviceofferingid }} {{ resource.serviceofferingname || resource.serviceofferingid }}
diff --git a/ui/src/components/view/ListView.vue b/ui/src/components/view/ListView.vue index 179d9961095..efce7c75ded 100644 --- a/ui/src/components/view/ListView.vue +++ b/ui/src/components/view/ListView.vue @@ -81,9 +81,10 @@ {{ text }} - - {{ text }} - + + {{ text }} + {{ text }} + {{ text }} diff --git a/ui/src/config/section/infra/systemVms.js b/ui/src/config/section/infra/systemVms.js index 59f2629a106..1834ade7b2b 100644 --- a/ui/src/config/section/infra/systemVms.js +++ b/ui/src/config/section/infra/systemVms.js @@ -56,7 +56,13 @@ export default { message: 'message.confirm.scale.up.system.vm', dataView: true, show: (record) => { return record.hypervisor !== 'KVM' }, - args: ['serviceofferingid'] + args: ['serviceofferingid'], + mapping: { + serviceofferingid: { + api: 'listServiceOfferings', + params: (record) => { return { virtualmachineid: record.virtualmachineid, issystem: true, systemvmtype: record.systemvmtype } } + } + } }, { api: 'migrateSystemVm', diff --git a/ui/src/views/compute/wizard/DiskOfferingSelection.vue b/ui/src/views/compute/wizard/DiskOfferingSelection.vue index 7324eb1d3b6..90356e0dcc6 100644 --- a/ui/src/views/compute/wizard/DiskOfferingSelection.vue +++ b/ui/src/views/compute/wizard/DiskOfferingSelection.vue @@ -157,10 +157,8 @@ export default { } }, items (newData, oldData) { - if (newData && newData.length > 0) { - this.initDataItem() - this.dataItems = this.dataItems.concat(newData) - } + this.initDataItem() + this.dataItems = this.dataItems.concat(newData) }, loading () { if (!this.loading) { diff --git a/ui/src/views/network/AclListRulesTab.vue b/ui/src/views/network/AclListRulesTab.vue index fa43f29c22c..e9152a12f06 100644 --- a/ui/src/views/network/AclListRulesTab.vue +++ b/ui/src/views/network/AclListRulesTab.vue @@ -133,7 +133,7 @@ - + diff --git a/ui/src/views/network/IngressEgressRuleConfigure.vue b/ui/src/views/network/IngressEgressRuleConfigure.vue index 52bcb893c30..34bb867bd17 100644 --- a/ui/src/views/network/IngressEgressRuleConfigure.vue +++ b/ui/src/views/network/IngressEgressRuleConfigure.vue @@ -80,8 +80,8 @@ style="overflow-y: auto" :columns="columns" :dataSource="rules" - :pagination="false" - :rowKey="record => record.id"> + :pagination="{ pageSizeOptions: ['10', '20', '40', '80', '100', '500'], showSizeChanger: true}" + :rowKey="record => record.ruleid"> @@ -187,6 +187,8 @@ export default { tagsLoading: false, addType: 'cidr', tabType: null, + page: 1, + pagesize: 10, columns: [ { title: this.$t('label.protocol'),