Finished translations / bug fixes
This commit is contained in:
@@ -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
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user