Skip to content

Conversation

@skjnldsv
Copy link
Contributor

Only a very narrow set of attributes were passed to the element if only one action were displayed.

Example (the download is NOT applied to the action without this PR):

<ActionLink
	download="123456"
	icon="icon-download"
	:close-after-click="true"
	:href="currentFile.davPath">
	{{ t('viewer', 'Download') }}
</ActionLink>

@skjnldsv skjnldsv added bug Something isn't working 3. to review Waiting for reviews feature: actions Related to the actions components labels Mar 31, 2021
@skjnldsv skjnldsv self-assigned this Mar 31, 2021
@skjnldsv skjnldsv requested a review from jotoeri April 2, 2021 09:00
Copy link
Contributor

@jotoeri jotoeri left a comment

Choose a reason for hiding this comment

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

Didn't test, but looks good. 👍

@skjnldsv skjnldsv merged commit 332c71b into master Apr 2, 2021
@skjnldsv skjnldsv deleted the fix/single-action-attributes branch April 2, 2021 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug Something isn't working feature: actions Related to the actions components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants