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 2021/02/19 08:37:54 UTC
[cloudstack] branch 4.15 updated: ui: display account name only if
its not null (#4667)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new 06b5bd2 ui: display account name only if its not null (#4667)
06b5bd2 is described below
commit 06b5bd2966eb39e5815715d30ba39b0650415188
Author: Rakesh <ra...@gmail.com>
AuthorDate: Fri Feb 19 09:37:38 2021 +0100
ui: display account name only if its not null (#4667)
If account is null then "undefined" is displayed in ui
---
ui/src/views/infra/network/IpRangesTabPublic.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/views/infra/network/IpRangesTabPublic.vue b/ui/src/views/infra/network/IpRangesTabPublic.vue
index 73fc228..4e87885 100644
--- a/ui/src/views/infra/network/IpRangesTabPublic.vue
+++ b/ui/src/views/infra/network/IpRangesTabPublic.vue
@@ -35,7 +35,7 @@
:pagination="false"
>
<template slot="account" slot-scope="record">
- <a-button @click="() => handleOpenAccountModal(record)">{{ `[${record.domain}] ${record.account}` }}</a-button>
+ <a-button @click="() => handleOpenAccountModal(record)">{{ `[${record.domain}] ${record.account === undefined ? '' : record.account}` }}</a-button>
</template>
<template slot="actions" slot-scope="record">
<div class="actions">