Skip to content

Commit

Permalink
fixup! feat(files): add conversion action
Browse files Browse the repository at this point in the history
Signed-off-by: skjnldsv <[email protected]>
  • Loading branch information
skjnldsv committed Jan 10, 2025
1 parent d47b642 commit 0d5acfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/actions/convertAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const ACTION_CONVERT = 'convert'

export const registerConvertActions = () => {
// Generate sub actions
const convertProviders = getCapabilities()?.core?.conversions as ConversionsProvider[]
const convertProviders = getCapabilities()?.core?.conversions as ConversionsProvider[] ?? []
const actions = convertProviders.map(provider => {
return provider.to.map(to => new FileAction({
id: `convert-${provider.from}-${to}`,
Expand Down

0 comments on commit 0d5acfe

Please sign in to comment.