You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/09/18 12:44:29 UTC
[cloudstack-primate] branch master updated: Enable tags for lb
rules (#681)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new 713a99a Enable tags for lb rules (#681)
713a99a is described below
commit 713a99ab1b26d9355c93561f6951f3a3046f6f49
Author: Rakesh <ra...@gmail.com>
AuthorDate: Fri Sep 18 14:44:20 2020 +0200
Enable tags for lb rules (#681)
Use updateLoadBalancerRule instead editLoadBalancerRule
Fix typo in deleteTags
Co-authored-by: Rakesh Venkatesh <r....@global.leaseweb.com>
---
src/views/network/LoadBalancing.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/network/LoadBalancing.vue b/src/views/network/LoadBalancing.vue
index dfcfc57..9e6949b 100644
--- a/src/views/network/LoadBalancing.vue
+++ b/src/views/network/LoadBalancing.vue
@@ -111,7 +111,7 @@
<template slot="actions" slot-scope="record">
<div class="actions">
<a-button shape="circle" icon="edit" @click="() => openEditRuleModal(record)"></a-button>
- <a-button :disabled="!('editLoadBalancerRule' in $store.getters.apis)" shape="circle" icon="tag" @click="() => openTagsModal(record.id)" />
+ <a-button :disabled="!('updateLoadBalancerRule' in $store.getters.apis)" shape="circle" icon="tag" @click="() => openTagsModal(record.id)" />
<a-popconfirm
:title="$t('label.delete') + '?'"
@confirm="handleDeleteRule(record)"
@@ -170,7 +170,7 @@
<div v-show="!tagsModalLoading" class="tags-container">
<div class="tags" v-for="(tag, index) in tags" :key="index">
- <a-tag :key="index" :closable="'deleteTag' in $store.getters.apis" :afterClose="() => handleDeleteTag(tag)">
+ <a-tag :key="index" :closable="'deleteTags' in $store.getters.apis" :afterClose="() => handleDeleteTag(tag)">
{{ tag.key }} = {{ tag.value }}
</a-tag>
</div>