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] Páginas com publicações quebradas (published_at e edited_at nulos) #244

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

eliseuramos93
Copy link
Contributor

@eliseuramos93 eliseuramos93 commented Feb 15, 2024

Essa PR aborda e resolve #242

Objetivos alcançados

Foi detectado que algumas páginas que mostram informações sobre data de publicação e data de edição do perfil estavam quebrando, por esperar que esses parâmetros não-obrigatórios fossem passados para a view. Essa PR adiciona os condicionais necessários para driblar essas necessidades e:

  • Apresentar created_at caso published_at não exista;
  • Não mostrar data de edição caso ela não exista;

Copy link
Contributor

@GyodaiDDA GyodaiDDA left a comment

Choose a reason for hiding this comment

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

Ok.

@eliseuramos93 eliseuramos93 merged commit 83e26c4 into main Feb 15, 2024
2 checks passed
Copy link
Member

@DanSmaR DanSmaR left a comment

Choose a reason for hiding this comment

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

Boa!

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.

[Fix] Páginas com post.edited_at quebradas
4 participants