vue-wiguet-chatweb 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +515 -517
- package/dist/vue-wiguet-chatweb.umd.cjs +5 -5
- package/package.json +1 -1
- package/src/components/Widget.vue +2 -2
package/package.json
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<div
|
7
7
|
id="chat-circle"
|
8
8
|
class="widget-container"
|
9
|
-
v-
|
9
|
+
v-if="props.tokenAuth.length > 10"
|
10
10
|
>
|
11
11
|
<div class="container-buttons-chat" :class="{'active': toggleButtonsChats}">
|
12
12
|
<a href="javascript:;" class="button whatsapp" @click="go(MeansCommunication.WHATSAPP)">
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<div class="new-message-badge" v-if="newMessages" >
|
32
32
|
{{ newMessages > 9 ? "9+" : newMessages }}
|
33
33
|
</div>
|
34
|
-
<a href="javascript:;"
|
34
|
+
<a href="javascript:;" @click="props.tokenAuth.length > 10 && toggleChat()">
|
35
35
|
<IconWidget />
|
36
36
|
</a>
|
37
37
|
</div>
|