[REF] component: rename t-keep-alive to t-keepalive

This is useful to preserve the following nice property: when we have an
attribute t-something-someotherthing, we can get the directive name by
removing 't-' at the front, and splitting on '-'.
This commit is contained in:
Géry Debongnie
2019-04-14 10:44:29 +02:00
parent d7bed96667
commit 3733734ae5
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<div t-name="web.web_client" class="o_web_client">
<t t-widget="Navbar" t-props="{inHome:state.inHome,app:state.currentApp}" />
<t t-widget="HomeMenu" t-if="state.inHome" t-keep-alive="1" t-props="{menuInfo:props.menuInfo}" />
<t t-widget="HomeMenu" t-if="state.inHome" t-keepalive="1" t-props="{menuInfo:props.menuInfo}" />
<div class="o_content" t-att-class="state.inHome ? 'o_hidden' : ''" t-ref="'content'"/>
<div class="o_notification_container">
<t t-foreach="state.notifications" t-as="notif">