style: community backend detail title

This commit is contained in:
jialin
2026-02-13 12:26:43 +08:00
parent c67a8c4120
commit af9890b16c
3 changed files with 6 additions and 6 deletions
+2
View File
@@ -76,6 +76,8 @@ export function useUpdateChunkedList(options: {
} else {
cacheDataListRef.current[updateIndex] = updateItem;
}
// TODO only push items created after triggerAt
if (
triggerAt?.current &&
Date.parse(item.created_at) >= triggerAt.current
@@ -8,6 +8,10 @@ import styled from 'styled-components';
import { generateIcon } from '../components/backend-card';
const Title = styled.div`
position: sticky;
top: 0;
padding-bottom: 16px;
background-color: var(--ant-color-bg-elevated);
display: flex;
align-items: center;
justify-content: space-between;
@@ -54,7 +58,6 @@ const UL = styled.ul`
flex-direction: column;
gap: 12px;
.label {
font-weight: 500;
font-size: 14px;
}
`;
-5
View File
@@ -43,11 +43,6 @@ const BackendFields: React.FC = () => {
useCompareEnvs();
const handleBackendVersionOnChange = (value: any, option: any) => {
// const oldEnvs = _.get(initialValues, 'env', {});
// const newEnvs = option.data?.env || {};
// handleCompareEnvs(oldEnvs, newEnvs);
if (Object.keys(option.data?.env || {}).length > 0) {
form.setFieldValue('env', { ...(option?.data?.env || {}) });
}