Commit abd23ee9 authored by Matthieu Fesselier's avatar Matthieu Fesselier

udpate: use core@0.7

parent 2484fddf
Pipeline #3167 passed with stage
in 27 seconds
sib-display-value{
display: block;
}
.sib-notifications{
box-sizing: border-box;
font-family: sans-serif;
......@@ -22,6 +25,10 @@
line-height: 20px;
}
[data-nb-unread="0"]{
display: none !important;
}
/* Button */
.sib-notifications__button{
display: block;
......
......@@ -17,7 +17,7 @@
</sib-auth-provider>
</sib-auth>
<script type="module" src="https://unpkg.com/@startinblox/core@0.6"></script>
<script type="module" src="https://unpkg.com/@startinblox/core@0.7"></script>
<script type="module" src="https://unpkg.com/@startinblox/router"></script>
<style>
......
......@@ -17,7 +17,7 @@
</sib-auth-provider>
</sib-auth>
<script type="module" src="https://unpkg.com/@startinblox/core@0.6"></script>
<script type="module" src="https://unpkg.com/@startinblox/core@0.7"></script>
<script type="module" src="https://unpkg.com/@startinblox/router"></script>
<style>
......
import { SIBTemplateElement, store, Helpers } from 'https://unpkg.com/@startinblox/core@0.6';
import { SIBTemplateElement, store, Helpers } from 'https://unpkg.com/@startinblox/core@0.7';
import Favico from 'https://dev.jspm.io/favico.js-slevomat';
const base_url = import.meta.url.replace(/\/[^\/]*$/, '');
......@@ -98,7 +98,7 @@ class SIBNotifications extends SIBTemplateElement {
search-fields="unread"
search-value-unread="true"
search-widget-unread="sib-form-hidden"
counter-template="<span id='badge-unread'>\${counter}</span>"
counter-template="<span id='badge-unread' data-nb-unread='\${counter}'>\${counter}</span>"
></sib-display>
</div>
</summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment