Skip to content

Commit 57b8c28

Browse files
committed
update: remove the icon in "Create Cluster" button in left menu.
update: change the i18n code "Create Cluster" button in main layout.
1 parent 637c794 commit 57b8c28

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

bigtop-manager-ui/src/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<img :src="usePngImage('default')" />
2828
<a-typography-text>{{ $t('cluster.cluster_unavailable_message') }}</a-typography-text>
2929
<a-typography-link underline @click="() => $router.push({ name: 'ClusterCreate' })">
30-
{{ $t('cluster.create') }}
30+
{{ $t('menu.create') }}
3131
</a-typography-link>
3232
</div>
3333
</a-card>

bigtop-manager-ui/src/layouts/sider.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
<div class="create-option">
107107
<a-button type="primary" ghost @click="addCluster">
108108
<div>
109-
<svg-icon style="margin-left: 0" name="plus" />
110109
<label>{{ $t('menu.create') }}</label>
111110
</div>
112111
</a-button>
@@ -148,7 +147,6 @@
148147
width: 160px;
149148
@include flexbox($align: center, $justify: center);
150149
label {
151-
margin-left: 10px;
152150
cursor: pointer;
153151
}
154152
}

0 commit comments

Comments
 (0)