mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat(web): upload json config (#8953)
* Button added, config is uploaded * Refactored to pass "npm run lint" (also verified other PR checklist Web checks) * Auto-save on config upload * Static input element --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
parent
a78260296c
commit
0dbe44cb78
2 changed files with 27 additions and 3 deletions
|
|
@ -23,7 +23,7 @@
|
|||
await (detail.default ? resetToDefault(detail.configKeys) : reset(detail.configKeys));
|
||||
};
|
||||
|
||||
const handleSave = async (update: Partial<SystemConfigDto>) => {
|
||||
export const handleSave = async (update: Partial<SystemConfigDto>) => {
|
||||
try {
|
||||
const newConfig = await updateConfig({
|
||||
systemConfigDto: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue