Skip to content
Snippets Groups Projects
Commit b63f7e33 authored by Guillaume (gdi)'s avatar Guillaume (gdi)
Browse files

[FIX] website: put the name of the "edit in backend" button in the state


Since the button must be rendered when its text changes, the variable
that holds its text must be stored in the component state. The button
already had the right text before a bit by chance because the new name
was computed before the component was rendered. Now we make sure that
the component will be rendered when the name is recomputed. The problem
is visible if we slow down the getUserModelName function and go to a
forum.post from a forum.forum.

task-2889929

closes odoo/odoo#99599

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 65f6b2fb
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment