Просмотр исходного кода

fix: change tag color for access log in NginxLogList component

Jacky 1 месяц назад
Родитель
Сommit
0e0f4439d7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/src/views/nginx_log/NginxLogList.vue

+ 1 - 1
app/src/views/nginx_log/NginxLogList.vue

@@ -12,7 +12,7 @@ const columns: StdTableColumn[] = [
     title: () => $gettext('Type'),
     dataIndex: 'type',
     customRender: (args: CustomRenderArgs) => {
-      return args.record?.type === 'access' ? <Tag color="success">{ $gettext('Access Log') }</Tag> : <Tag color="orange">{ $gettext('Error Log') }</Tag>
+      return args.record?.type === 'access' ? <Tag color="green">{ $gettext('Access Log') }</Tag> : <Tag color="orange">{ $gettext('Error Log') }</Tag>
     },
     sorter: true,
     search: {