mirror of
https://github.com/immich-app/immich.git
synced 2025-11-28 07:49:52 +09: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:
committed by
GitHub
parent
a78260296c
commit
0dbe44cb78
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user