Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 8876879

Browse files
demshymartinjagodic
authored andcommitted
fix: lint medialibrary
1 parent 629aa7e commit 8876879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/decap-cms-core/src/reducers/mediaLibrary.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function mediaLibrary(state = Map(defaultState), action: MediaLibraryAction) {
9191
map.set('privateUpload', privateUpload);
9292
map.set('config', libConfig);
9393
map.set('field', field ?? '');
94-
map.set('value', value == '' && libConfig.get('multiple') ? [] : (value ?? ''));
94+
map.set('value', value == '' && libConfig.get('multiple') ? [] : value ?? '');
9595
map.set('replaceIndex', replaceIndex ?? false);
9696
});
9797
}

0 commit comments

Comments
 (0)