File tree Expand file tree Collapse file tree
src/FE/pages/admin/file-service Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { formatDateTime } from '@/utils/date';
77import { GetFileServicesResult } from '@/types/adminApis' ;
88import { feFileServiceTypes } from '@/types/file' ;
99
10- import { Button } from '@/components/ui/button' ;
1110import { Card } from '@/components/ui/card' ;
1211import {
1312 Table ,
@@ -18,6 +17,9 @@ import {
1817 TableRow ,
1918} from '@/components/ui/table' ;
2019
20+ import IconActionButton from '@/components/common/IconActionButton' ;
21+ import { IconPlus } from '@/components/Icons' ;
22+
2123import FileServiceModal from '@/components/admin/Files/FileServiceModal' ;
2224
2325import { getFileServices } from '@/apis/adminApis' ;
@@ -53,15 +55,15 @@ export default function FileService() {
5355
5456 return (
5557 < >
56- < div className = "flex gap-4 mb-4" >
57- < Button
58+ < div className = "flex items-center justify-end mb-4" >
59+ < IconActionButton
60+ label = { t ( 'Add File Service' ) }
61+ icon = { < IconPlus size = { 18 } /> }
62+ stopPropagation = { false }
5863 onClick = { ( ) => {
5964 setIsOpen ( true ) ;
6065 } }
61- color = "primary"
62- >
63- { t ( 'Add File Service' ) }
64- </ Button >
66+ />
6567 </ div >
6668 < Card >
6769 < Table >
You can’t perform that action at this time.
0 commit comments