Skip to content

Conversation

@fracado
Copy link

@fracado fracado commented Apr 30, 2025

No description provided.

OCA.Files.fileActions.registerAction({
name: 'view',
displayName: t('viewer', 'View'),
icon: () => svgEye,
Copy link

@tanyaka tanyaka May 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- icon: () => svgEye,
+ iconClass: 'icon-viewer',

I would propose to apply existing approach just to add a new iconClass property to data object as here. So we have less changes in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants