adding sourcemap to vite config
This commit is contained in:
parent
bcef5ecd85
commit
a64f091aed
3 changed files with 2 additions and 7 deletions
|
|
@ -81,11 +81,9 @@ export default function GroupPage() {
|
|||
const loadGroup = () => {
|
||||
setLoadingGroup(true)
|
||||
groupAPI.getGroupAndPermissions(groupID).then(resp => {
|
||||
console.log(resp.data)
|
||||
if (resp.data.group) setGroup(Group.create(resp.data.group))
|
||||
let newPerms: pond.Permission[] = []
|
||||
resp.data.permissions.forEach(perm => {
|
||||
console.log(perm)
|
||||
if (typeof(perm) === "string") {
|
||||
const permNumber = pond.Permission[perm as keyof typeof pond.Permission]
|
||||
newPerms.push(permNumber)
|
||||
|
|
@ -198,10 +196,6 @@ export default function GroupPage() {
|
|||
setLimit(event.target.value);
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
console.log(permissions)
|
||||
}, [permissions])
|
||||
|
||||
return (
|
||||
<PageContainer>
|
||||
<Grid2 container justifyContent={"space-between"} alignItems={"center"} paddingBottom={2}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue