Skip to content

Commit 35d6469

Browse files
committed
fix(SocketList): adjust columns settings #1377
1 parent ae86ef7 commit 35d6469

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/views/upstream/SocketList.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const columns: ColumnsType<SocketInfo> = [
1919
dataIndex: 'socket',
2020
key: 'socket',
2121
width: 200,
22-
fixed: 'left',
2322
},
2423
{
2524
title: () => $gettext('Upstream'),
@@ -60,7 +59,7 @@ const columns: ColumnsType<SocketInfo> = [
6059
{
6160
title: () => $gettext('Health Check'),
6261
key: 'enabled',
63-
width: 150,
62+
width: 50,
6463
fixed: 'right',
6564
},
6665
]
@@ -147,7 +146,7 @@ onUnmounted(() => {
147146
:pagination="{
148147
pageSize: 20,
149148
showSizeChanger: true,
150-
showTotal: (total: number) => `Total ${total} items`,
149+
showTotal: (total: number) => $gettext('Total %{total} items', { total: total.toLocaleString() }),
151150
}"
152151
:scroll="{ x: 1400 }"
153152
row-key="socket"

0 commit comments

Comments
 (0)