mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
Refresh admin settings on submit (#2456)
This commit is contained in:
parent
d705f3685f
commit
b793697f68
2 changed files with 4 additions and 1 deletions
|
@ -141,7 +141,7 @@
|
|||
"sortpack"
|
||||
]
|
||||
},
|
||||
"packageManager": "pnpm@9.1.0+sha512.67f5879916a9293e5cf059c23853d571beaf4f753c707f40cb22bed5fb1578c6aad3b6c4107ccb3ba0b35be003eb621a16471ac836c87beb53f9d54bb4612724",
|
||||
"packageManager": "pnpm@9.1.1+sha512.14e915759c11f77eac07faba4d019c193ec8637229e62ec99eefb7cf3c3b75c64447882b7c485142451ee3a6b408059cdfb7b7fa0341b975f12d0f7629c71195",
|
||||
"engineStrict": true,
|
||||
"importSort": {
|
||||
".js, .jsx, .ts, .tsx": {
|
||||
|
|
|
@ -421,6 +421,9 @@ export class AdminSettings extends Component<
|
|||
return s;
|
||||
});
|
||||
toast(I18NextService.i18n.t("site_saved"));
|
||||
|
||||
// You need to reload the page, to properly update the siteRes everywhere
|
||||
setTimeout(() => location.reload(), 500);
|
||||
}
|
||||
|
||||
this.setState({ loading: false });
|
||||
|
|
Loading…
Reference in a new issue