Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(NcActions): In case of inline actions make sure to support icon as URL #5053

Merged
merged 1 commit into from Jan 11, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Jan 10, 2024

☑️ Resolves

The actions support the icon prop with class and URL, but if they are rendered as inline actions the URL was not used currently as the icon but set as class.

🖼️ Screenshots

🏚️ Before 🏡 After
Screenshot_20240110_173603 Screenshot_20240110_173536

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

@susnux susnux added bug Something isn't working 3. to review Waiting for reviews feature: actions Related to the actions components labels Jan 10, 2024
@susnux susnux added this to the 8.4.1 milestone Jan 10, 2024
@susnux susnux force-pushed the fix/make-nc-actions-support-icon-url branch from e70fd33 to 837fe3c Compare January 10, 2024 16:43
src/mixins/actionText.js Outdated Show resolved Hide resolved
src/components/NcActions/NcActions.vue Outdated Show resolved Hide resolved
…s URL

Added an unit test case.

Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/make-nc-actions-support-icon-url branch from c0ee984 to 95fe5dc Compare January 10, 2024 22:39
@susnux susnux merged commit e485976 into master Jan 11, 2024
15 checks passed
@susnux susnux deleted the fix/make-nc-actions-support-icon-url branch January 11, 2024 08:21
@susnux susnux modified the milestones: 8.4.1, 8.5.0 Jan 15, 2024
@Pytal Pytal mentioned this pull request Jan 23, 2024
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.

ActionLink does not display icon when a URL is passed
3 participants