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
parent dde7b7cf87
commit 730b30381f

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 })
}