File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
src/pages/teams-share/teams/list-team Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { Layout as DashboardLayout } from "/src/layouts/index.js" ;
2
2
import { CippTablePage } from "/src/components/CippComponents/CippTablePage.jsx" ;
3
3
import { Button } from "@mui/material" ;
4
- import { GroupAdd } from "@mui/icons-material" ;
4
+ import { Delete , GroupAdd } from "@mui/icons-material" ;
5
5
import Link from "next/link" ;
6
6
import { Edit } from "@mui/icons-material" ;
7
7
@@ -16,6 +16,19 @@ const Page = () => {
16
16
color : "warning" ,
17
17
icon : < Edit /> ,
18
18
} ,
19
+ {
20
+ label : "Delete Team" ,
21
+ type : "POST" ,
22
+ url : "/api/ExecGroupsDelete" ,
23
+ icon : < Delete /> ,
24
+ data : {
25
+ ID : "id" ,
26
+ GroupType : "!Microsoft 365" ,
27
+ DisplayName : "displayName" ,
28
+ } ,
29
+ confirmText : "Are you sure you want to delete this team?" ,
30
+ multiPost : false ,
31
+ } ,
19
32
] ;
20
33
21
34
return (
You can’t perform that action at this time.
0 commit comments