feat: bump container
This commit is contained in:
		| @@ -2,7 +2,7 @@ import { useShallow } from 'zustand/react/shallow'; | ||||
| import { useUserAppStore } from '../store'; | ||||
| import { useEffect } from 'react'; | ||||
| import { Button, Form, Input, Modal, Select, Tooltip } from 'antd'; | ||||
| import { DeleteOutlined, EditOutlined, PlusOutlined, UnorderedListOutlined } from '@ant-design/icons'; | ||||
| import { DeleteOutlined, EditOutlined, LinkOutlined, PlusOutlined, UnorderedListOutlined } from '@ant-design/icons'; | ||||
| import { isObjectNull } from '@/utils/is-null'; | ||||
| import { useNavigate } from 'react-router'; | ||||
| import { FileUpload } from '../modules/FileUpload'; | ||||
| @@ -122,10 +122,14 @@ export const List = () => { | ||||
|           <div className='w-full h-full bg-white rounded-lg p-2'> | ||||
|             <div className='flex flex-wrap gap-2'> | ||||
|               {userAppStore.list.map((item) => { | ||||
|                 const isRunning = item.status === 'running'; | ||||
|                 return ( | ||||
|                   <div className='card border-t w-[300px] ' key={item.id}> | ||||
|                     <div className='card-title' onClick={() => {}}> | ||||
|                     <div className='card-title flex justify-between' onClick={() => {}}> | ||||
|                       {item.title} | ||||
|                       <div> | ||||
|                         <div className={`${isRunning ? 'bg-green-500' : 'bg-red-500'} w-4 h-4 rounded-full`}></div> | ||||
|                       </div> | ||||
|                     </div> | ||||
|                     <div className='mt-2'> | ||||
|                       <Button.Group> | ||||
| @@ -144,6 +148,14 @@ export const List = () => { | ||||
|                               navicate(`/app/${item.key}/verison/list`); | ||||
|                             }}></Button> | ||||
|                         </Tooltip> | ||||
|                         <Tooltip title={'App Version List'}> | ||||
|                           <Button | ||||
|                             icon={<LinkOutlined />} | ||||
|                             onClick={() => { | ||||
|                               const link = new URL(`/${item.user}/${item.key}`, 'https://kevisual.xiongxiao.me'); | ||||
|                               window.open(link.toString(), '_blank'); | ||||
|                             }}></Button> | ||||
|                         </Tooltip> | ||||
|                         <Tooltip title={'Delete'}> | ||||
|                           <Button icon={<DeleteOutlined />} onClick={() => userAppStore.deleteData(item.id)}></Button> | ||||
|                         </Tooltip> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user