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

[next] fix(NcAvatar): don't show false for disabled tooltip #4740

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

raimund-schluessler
Copy link
Contributor

@raimund-schluessler raimund-schluessler commented Nov 1, 2023

☑️ Resolves

  • Fixes showing false as tooltip when the tooltip was disabled with disable-tooltip.

🖼️ Screenshots

🏚️ Before 🏡 After
Bildschirmfoto vom 2023-11-01 21-45-19 grafik

@raimund-schluessler raimund-schluessler added bug Something isn't working 3. to review Waiting for reviews feature: avatar Related to the avatar component vue 3 Related to the vue 3 migration labels Nov 1, 2023
@raimund-schluessler raimund-schluessler added this to the 9.0.0 next Vue 3 milestone Nov 1, 2023
@raimund-schluessler raimund-schluessler marked this pull request as ready for review November 1, 2023 20:50
@raimund-schluessler raimund-schluessler changed the title fix(NcAvatar): don't show false for disabled tooltip [next] fix(NcAvatar): don't show false for disabled tooltip Nov 1, 2023
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

LGTM just a question :)

@@ -474,7 +474,7 @@ export default {
},
tooltip() {
if (this.disableTooltip) {
return false
return null
Copy link
Contributor

Choose a reason for hiding this comment

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

Would make undefined not make more sense?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no preference here tbh. Both works. If you prefer undefined, that's fine with me.

Copy link
Contributor

Choose a reason for hiding this comment

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

No just a question :)

@susnux susnux merged commit f03d92f into next Nov 1, 2023
@susnux susnux deleted the fix/noid/avatar-tooltip branch November 1, 2023 21:22
@susnux susnux mentioned this pull request Jan 23, 2024
1 task
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: avatar Related to the avatar component vue 3 Related to the vue 3 migration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants