mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] playground: add missing t-key in template
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div t-name="TabbedEditor" class="tabbed-editor">
|
<div t-name="TabbedEditor" class="tabbed-editor">
|
||||||
<div class="tabBar" t-att-class="{resizeable: props.resizeable}" t-on-mousedown="onMouseDown">
|
<div class="tabBar" t-att-class="{resizeable: props.resizeable}" t-on-mousedown="onMouseDown">
|
||||||
<t t-foreach="['js', 'xml', 'css']" t-as="tab">
|
<t t-foreach="['js', 'xml', 'css']" t-as="tab">
|
||||||
<a t-ref="tab" t-if="props[tab]" class="tab flash" t-att-class="{active: state.currentTab===tab}" t-on-click="setTab(tab)">
|
<a t-ref="tab" t-if="props[tab]" t-key="tab" class="tab flash" t-att-class="{active: state.currentTab===tab}" t-on-click="setTab(tab)">
|
||||||
<t t-esc="tab"/>
|
<t t-esc="tab"/>
|
||||||
</a>
|
</a>
|
||||||
</t>
|
</t>
|
||||||
|
|||||||
Reference in New Issue
Block a user