mirror of https://github.com/apache/cloudstack.git
UI: Hide User Card from config.userCard.enabled option (#10545)
Co-authored-by: OlegChuev <o.chuev@mobidev.biz>
This commit is contained in:
parent
cbc614d8e3
commit
2105794f61
|
|
@ -64,6 +64,7 @@
|
|||
"sc": "label.simplified.chinese.keyboard"
|
||||
},
|
||||
"userCard": {
|
||||
"enabled": true,
|
||||
"title": "label.help",
|
||||
"icon": "question-circle-outlined",
|
||||
"links": [
|
||||
|
|
|
|||
|
|
@ -299,7 +299,14 @@
|
|||
</div>
|
||||
</chart-card>
|
||||
</a-col>
|
||||
<a-col :xs="{ span: 24 }" :lg="{ span: 12 }" :xl="{ span: 8 }" :xxl="{ span: 8 }" class="dashboard-card">
|
||||
<a-col
|
||||
v-if="$config.userCard.enabled ?? true"
|
||||
:xs="{ span: 24 }"
|
||||
:lg="{ span: 12 }"
|
||||
:xl="{ span: 8 }"
|
||||
:xxl="{ span: 8 }"
|
||||
class="dashboard-card"
|
||||
>
|
||||
<chart-card :loading="loading" class="dashboard-card">
|
||||
<template #title>
|
||||
<div class="center">
|
||||
|
|
|
|||
Loading…
Reference in New Issue