Finished translations / bug fixes

This commit is contained in:
Sebastian Seedorf
2022-08-20 14:47:04 +02:00
parent 664f766cb6
commit 2fd010e003
13 changed files with 162 additions and 66 deletions

View File

@@ -33,7 +33,7 @@ interface GroupContextType {
setBaseFactories(factories: string[]): void
groups: Dict<Group>
addGroup(name: string, exported?: string[], malls?: string[]): void
addGroup(name: string, exported?: string[], malls?: string[]): boolean
removeGroup(name: string): void
renameGroup(name: string, newName: string): void
@@ -60,7 +60,7 @@ const defaultValues: GroupContextType = {
groups: {},
addGroup() {
return
return false
},
removeGroup() {
return
@@ -174,7 +174,7 @@ export const GroupProvider: FC<Props> = ({ children, id, initial }) => {
`/api/${fixedEncodeURIComponent(id)}/group/${fixedEncodeURIComponent(name)}/factories`,
{
type: 'malls',
factories: exports
factories: malls
} as GroupSetFactoryArrayBody
)
}