diff --git a/dinky-web/src/pages/RegCenter/GitProject/components/ProjectProTable/index.tsx b/dinky-web/src/pages/RegCenter/GitProject/components/ProjectProTable/index.tsx index 2616954936..0d9955c1b5 100644 --- a/dinky-web/src/pages/RegCenter/GitProject/components/ProjectProTable/index.tsx +++ b/dinky-web/src/pages/RegCenter/GitProject/components/ProjectProTable/index.tsx @@ -29,7 +29,8 @@ import ClassList from '@/pages/RegCenter/GitProject/components/BuildSteps/JarSho import { CodeTree } from '@/pages/RegCenter/GitProject/components/CodeTree'; import ProjectModal from '@/pages/RegCenter/GitProject/components/ProjectModal'; import { - GIT_PROJECT_BUILD_STEP_JAVA_ENUM, GIT_PROJECT_BUILD_STEP_PYTHON_ENUM, + GIT_PROJECT_BUILD_STEP_JAVA_ENUM, + GIT_PROJECT_BUILD_STEP_PYTHON_ENUM, GIT_PROJECT_CODE_TYPE, GIT_PROJECT_CODE_TYPE_ENUM, GIT_PROJECT_STATUS, @@ -227,7 +228,8 @@ const ProjectProTable: React.FC = () => { dataIndex: 'buildStep', hideInSearch: true, // filters: GIT_PROJECT_BUILD_STEP, - valueEnum: (row) => row.codeType === 1 ? GIT_PROJECT_BUILD_STEP_JAVA_ENUM : GIT_PROJECT_BUILD_STEP_PYTHON_ENUM, + valueEnum: (row) => + row.codeType === 1 ? GIT_PROJECT_BUILD_STEP_JAVA_ENUM : GIT_PROJECT_BUILD_STEP_PYTHON_ENUM }, { title: l('rc.gp.buildState'), diff --git a/dinky-web/src/pages/RegCenter/GitProject/constans.tsx b/dinky-web/src/pages/RegCenter/GitProject/constans.tsx index e8865267d6..a2a9f5cf56 100644 --- a/dinky-web/src/pages/RegCenter/GitProject/constans.tsx +++ b/dinky-web/src/pages/RegCenter/GitProject/constans.tsx @@ -1,19 +1,19 @@ /* * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. * */ @@ -154,8 +154,8 @@ const GIT_PROJECT_BUILD_STEP_BASE = { title: l('rc.gp.build.step.1'), text: l('rc.gp.build.step.1'), status: 'default' - }, -} + } +}; /** * git project build step enum */ @@ -212,7 +212,6 @@ export const GIT_PROJECT_BUILD_STEP_PYTHON_ENUM = { } }; - /** * git project build step filter */