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

button disable fix + make fallback strings same for translation ease #94

Merged
merged 3 commits into from
Jul 1, 2024

Conversation

kyteinsky
Copy link
Contributor

@kyteinsky kyteinsky commented Jun 27, 2024

  • edit action buttons alignment
  • security fixes in chatty ui controller

@kyteinsky kyteinsky requested a review from julien-nc June 27, 2024 12:28
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

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

👍

@@ -90,7 +90,7 @@ export default {
data: () => {
return {
displayName: getCurrentUser()?.displayName ?? getCurrentUser()?.uid ?? t('assistant', 'You'),
userId: getCurrentUser()?.uid ?? t('assistant', 'yooniquely-you'),
userId: getCurrentUser()?.uid ?? t('assistant', 'You'),
Copy link
Member

Choose a reason for hiding this comment

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

If there is no user in the context, something is wrong, it does not matter that much to have a fallback there, right? Especially since this userId is only passed to the avatar. Anyway, can't hurt 👍

@julien-nc julien-nc merged commit e0dcd70 into main Jul 1, 2024
11 checks passed
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.

2 participants