[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:
@@ -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 )">
|
||||
|
||||
Reference in New Issue
Block a user