[FIX] web_editor: history dialog foreach key

Fix wrong Qweb foreach key reference in history dialog.

task-3560850

closes odoo/odoo#139188

Signed-off-by: Antoine Guenet (age) <age@odoo.com>
This commit is contained in:
Sébastien Geelen (sge)
2023-10-20 07:22:49 +00:00
parent 5e6c94b9be
commit 0a3f65e144
@@ -9,7 +9,7 @@
</t>
<t t-foreach="state.revisionsData" t-as="rev"
t-key="rev.index">
t-key="rev.revision_id">
<a type="object" href="#" role="button"
t-attf-class="btn btn-outline-primary #{state.revisionId === rev.revision_id ? 'active' : ''}"
t-on-click="() => this.updateCurrentRevision(rev.revision_id )">