fix(files): use correct API for action displayName in batch actions

The displayName call was still using the old positional arguments
(nodes, view) instead of the new object parameter format (actionContext)
after the @nextcloud/files 4.0.0 update.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
This commit is contained in:
nfebe 2026-01-27 23:39:55 +01:00 committed by backportbot[bot]
parent 8963ec0a32
commit bfeddc2d7d

View file

@ -287,7 +287,7 @@ export default defineComponent({
let displayName = action.id
try {
displayName = action.displayName(this.nodes, this.currentView)
displayName = action.displayName(this.actionContext)
} catch (error) {
logger.error('Error while getting action display name', { action, error })
}