mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(frontend): resolve add new flow error
This commit is contained in:
parent
fa17ca33b3
commit
b511ee8323
@ -205,7 +205,9 @@ export const Languages = () => {
|
|||||||
startIcon={<AddIcon />}
|
startIcon={<AddIcon />}
|
||||||
variant="contained"
|
variant="contained"
|
||||||
sx={{ float: "right" }}
|
sx={{ float: "right" }}
|
||||||
onClick={() => dialogs.open(LanguageFormDialog, null)}
|
onClick={() =>
|
||||||
|
dialogs.open(LanguageFormDialog, { defaultValues: null })
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{t("button.add")}
|
{t("button.add")}
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
Reference in New Issue
Block a user