mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
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:
parent
8963ec0a32
commit
bfeddc2d7d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 })
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue