Skip to content

Commit

Permalink
Fix: hide language switch button in template (#5190)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 authored Nov 5, 2024
1 parent 8c07729 commit 248e95d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
4 changes: 2 additions & 2 deletions frontend/providers/applaunchpad/src/constants/editApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export const defaultEditVal: AppEditType = {
runCMD: '',
cmdParam: '',
replicas: 1,
cpu: 100,
memory: 128,
cpu: 1000,
memory: 1024,
networks: [
{
networkName: '',
Expand Down
20 changes: 0 additions & 20 deletions frontend/providers/template/src/components/layout/appmenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,26 +93,6 @@ export default function AppMenu() {
<Text ml="10px" fontSize={'14px'} fontWeight={500}>
{t('SideBar.My App')}
</Text>

<Center
ml="auto"
bg="rgba(150, 153, 180, 0.15)"
color={'#485058'}
w="28px"
h="28px"
borderRadius={'50%'}
bottom={'28px'}
right={'16px'}
fontSize={'12px'}
fontWeight={500}
cursor={'pointer'}
onClick={(e) => {
e.stopPropagation();
changeI18n();
}}
>
{i18n?.language === 'en' ? 'En' : '中'}
</Center>
</Flex>
) : (
<Center
Expand Down

0 comments on commit 248e95d

Please sign in to comment.