mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(files): jsunit file_conversions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
eb92120768
commit
5dc091aa58
3 changed files with 4 additions and 4 deletions
|
|
@ -22,7 +22,7 @@ type ConversionsProvider = {
|
|||
export const ACTION_CONVERT = 'convert'
|
||||
export const registerConvertActions = () => {
|
||||
// Generate sub actions
|
||||
const convertProviders = getCapabilities()?.files.file_conversions as ConversionsProvider[] ?? []
|
||||
const convertProviders = getCapabilities()?.files?.file_conversions as ConversionsProvider[] ?? []
|
||||
const actions = convertProviders.map(({ to, from, displayName }) => {
|
||||
return new FileAction({
|
||||
id: `convert-${from}-${to}`,
|
||||
|
|
|
|||
4
dist/files-init.js
vendored
4
dist/files-init.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files-init.js.map
vendored
2
dist/files-init.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue